Ovid (publius_ovidius) wrote,
Ovid
publius_ovidius

  • Mood:
  • Music:

About your test suite ...

Update: Apparently you do need a LiveJournal account to complete this poll. Damn it :(

While this poll is primarily aimed gathering information from Perl programmers, feel free to answer it if you use a different language. That being said, if you're using an XUnit framework, "number of tests" means, in this context "number of asserts" (in other words, a test method with three asserts would count as 3 tests, not one).

In the comments below, feel free to explain any answers, particularly if not all of your tests pass.

Poll #1223715 Size Does Matter

Does your primary code base have a test suite?

Yes
41(75.9%)
No
13(24.1%)

If you answered "no" to the above question, please explain why (150 chars)

How many tests are in the largest test suite you work with?

Fewer than 50 tests
8(16.7%)
50 to 100 tests
7(14.6%)
101 to 500 tests
14(29.2%)
501 to 2,000 tests
12(25.0%)
2,001 to 10,000 tests
4(8.3%)
More than 10,000 tests
3(6.2%)

How long does the aforementioned test suite take to run?

Fewer than 30 seconds
10(20.8%)
30 seconds to 1 minute
12(25.0%)
1 minute to 5 minutes
8(16.7%)
5 minutes to 10 minutes
7(14.6%)
10 minutes to 20 minutes
4(8.3%)
20 minutes or more
7(14.6%)

What percentage of your code is covered (rounding down)?

Don't Know
8(16.7%)
Less than 50%
11(22.9%)
50% to 74%
7(14.6%)
75% to 84%
13(27.1%)
85% to 94%
6(12.5%)
95% to 99%
1(2.1%)
100%
2(4.2%)

Do all tests pass?

Yes
36(78.3%)
No
10(21.7%)

If you answered "no" to the above question, what percentage of your tests fail?

What is the primary language the test suite is in?

What test framework the test suite is based on? (e.g. Perl is probably Test::Harness and Java is often jUnit)

Tags: programming
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 15 comments