Acceptance Testing

Conclusive guide to Agile testing methodology

Reading Time: 4 minutes Agile methodology has been the most compelling approach to project management. The main purpose of the agile approach is to overcome difficulties with earlier waterfall model and to make processes more flexible and effective. Few Agile testing methodologies are:  Acceptance Test Driven Development (ATDD)- . It verifies that the product functions as users would expect. ATDD is related to TDD, or Test-Driven Development. It faster Continue Reading

A Beginner’s Guide to Writing Acceptance Testing for Lagom Microservices with Cucumber

Reading Time: 3 minutes In software development, acceptance criteria is a way via which a client communicates their expectations to engineering team. Also, it acts as a list of conditions upon completion of which a software/app is marked as complete. Since acceptance criteria is an important part of software development, it becomes important to determine that the acceptance criteria is met by the software or not. This sub-discipline of Continue Reading

Testing grammar using ANTLR4 TestRig (Grun)

Reading Time: 5 minutes “Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” –Martin Golding Quotes like above tell us the importance of testing the modules that we develop. Testing for different languages is done using various tools for example JUNIT for java, FunSuite for scala and TestRig (grun on command line) for grammar(.g4). In this Continue Reading

Service Virtualization in Testing

Reading Time: 2 minutes Application are very important for the business today. The development cost and the quality of application are remains challenges. Service Virtualization allowing developers, testers and performance teams to work in parallel for faster delivery and higher application quality and reliability. it Simulates the behavior of selected components within a composite application to enable end-to-end testing as a whole. Service Virtualization is not a substitute for Continue Reading

ATDD, Generating random tests with ScalaCheck

Reading Time: 3 minutes Further, in our series on Acceptance Test Driven Development, we would look at generating random test values with the ScalaCheck framework. In our last post we looked at, how we make our test logic respect the DRY principle by defining the values in a table. However, in many situations, you would like to generate the values dynamically so that we do not have to fill Continue Reading

ATDD, ScalaTest, Cucumber and respecting DRY

Reading Time: 3 minutes In our last post we looked at how it was easy to use ScalaTest for doing acceptance testing. In a post prior to that, we had looked at doing the same with Cucumber. We had also concluded that though acceptance tests could be written in the way described however, there was an issue. Writing the feature files with individual features having multiple scenarios which would Continue Reading