Maintaining list of testcases in an agile environment



  • I am working on an agile team building a web-based product. We do have jUnit tests and API automation as well. However since we iterate fast, more and more test-cases are being added or updated everyday. My problem is that there is no central list of test-cases. Is there any tool which I can use to maintain list of tests and individual test details?



  • Test documentation: It should be possible to generate code documentation with something like doxygen or an alternative. (Assuming all the automated test-cases are started with a (unit) test-runner which uses a sort of class system in code.) Run the doc-generator only on the directories containing the tests. This should result in a list of all methods in the classes. Each method is a test, this could be the list you are looking for. Often these tools generate a method list and details click-through in the form of HTML pages. Grouping tests: Understanding you want to run the test-suite partial. I think its better to group your test-cases and let the runner only start the groups you want to run. Here are some links that describe grouping for popular test-runners: Visual Studio Tests: http://msdn.microsoft.com/en-us/library/dd286683.aspx jUnit: https://stackoverflow.com/questions/817135/grouping-junit-tests Cucumber: https://github.com/cucumber/cucumber/wiki/Tags TestNG: http://www.tutorialspoint.com/testng/testng_group_test.htm Start grouping the old tests and make sure everyone who creates a new tests to put it in one or more groups. Motivate them by telling them it will make local tests runs faster.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2