Verify Mock Behavior in Mockito Java Unit Tests
Mockito is an open source mock framework for Java that letsyou write beautiful tests with clean and simple API. This video shows how to verify mock objects using Mockito.
Mockito is an open source mock framework for Java that letsyou write beautiful tests with clean and simple API. This video shows how to verify mock objects using Mockito.
Unit tests are comprised of test methods and classes that verify whether a particular piece of code is working properly. This article introduces test methods in the salesforce.com environment. It details why test methods are a critical part of Force.com application development, test method syntax, best practices, and advanced topics such as test methods for Visualforce controllers and Apex web service callouts.
Selenium is a popular framework for testing the user interface (UI) of a web application. It is an extremely powerful tool for running end-to-end functional tests. You can write tests in several programming languages and Selenium executes them into one or multiple browsers.
This blog post explains how to separate integration and unit tests with Maven, Sonar, Failsafe and JaCoCo. This is achieved by executing unit tests via Surefire and integration tests via Failsafe. Then you show as much information about them as possible in Sonar. The post provides detailed command lines and Maven configuration files to achieve this goal.
This blog post discusses how to apply a Test-driven Development (TDD) approach to non-functional requirements like performance. He proposes examples on how to test performance with time and memory constraints. He suggests that it is possible to extend this approach to performance, scalability, portability, maintainability and even more abstracts requirements like usability, accessibility.
Behaviour Driven Development (BDD) is a different way of approaching the “how to validate your code” problem. It aims to help focus development on the delivery of prioritized, verifiable business value by providing a common vocabulary. This video discusses various ways to try out BDD in Python, from the periodically maligned doctests to simple unittest module usages to more specialized modules.
This blog post presents the Q&A of the “Application Testing in the Cloud Made Easy” session of the Oracle Enterprise Management Forum. It presents the last evolutions in Oracle Application Testing Suite which includes Oracle Functional Testing, Oracle Load Testing and Oracle Test Manager.
Copyright © 2009-2024 Software Testing Magazine by Martinig & Associates