[zanata/zanata-server] 1078af: Remove for loops and conditions in tests.

GitHub noreply at github.com
Wed Jul 17 00:45:53 UTC 2013


  Branch: refs/heads/for-loops-in-tests-are-bad
  Home:   https://github.com/zanata/zanata-server
  Commit: 1078af7fe8fd65cdb466639d4ab1e47fb87d5a7a
      https://github.com/zanata/zanata-server/commit/1078af7fe8fd65cdb466639d4ab1e47fb87d5a7a
  Author: Damian Jansen <djansen at redhat.com>
  Date:   2013-07-16 (Tue, 16 Jul 2013)

  Changed paths:
    M functional-test/src/test/java/org/zanata/feature/startNewProject/AddLanguageTest.java
    M functional-test/src/test/java/org/zanata/feature/versionGroup/VersionGroupDetailedTest.java
    A functional-test/src/test/java/org/zanata/feature/versionGroup/VersionGroupIDValidationTest.java

  Log Message:
  -----------
  Remove for loops and conditions in tests.

For loops and if conditions are sub-optimal in tests, for both
stability and readability. Removed and replaced with Theory run
features.
Though this adds some time to the detailed tests, it's more correct.





More information about the zanata-commits mailing list