-
Notifications
You must be signed in to change notification settings - Fork 470
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Info annotation #959
base: master
Are you sure you want to change the base?
Info annotation #959
Conversation
…c test attributes. This annotation then can be integrated with Spock Reports to add the following 1. Id (Need to identify every feature uniquely) 2. Impact (Impact of the feature, if it fails) 3. Frequency of Failure (Probability of a feature failing) 4. Component (Which component it may be associated with. Example: shopping cart, product page etc ) These params then cab be used to create reports like ACC (https://testing.googleblog.com/2011/10/google-test-analytics-now-in-open.html)
Codecov Report
@@ Coverage Diff @@
## master #959 +/- ##
=========================================
Coverage 75.99% 75.99%
Complexity 3534 3534
=========================================
Files 377 377
Lines 10746 10746
Branches 1367 1367
=========================================
Hits 8166 8166
Misses 2103 2103
Partials 477 477 Continue to review full report at Codecov.
|
Hi, thanks for your contribution. However, I don't think that this will be a good fit for spock(-core).
|
Hi @leonard84
Identifying test cases by eye is also an important feature. I think very similar examples in Spock already exists like the @issue annotation and @Narrative annotation. I am not sure if they are used outside of any report.
Should I resubmit the PR with @id or @testcase or @tc annotation?
That's right, but at least an ID is needed in any testing methodology. We have a real problem of identifying test cases between 8K+ test cases and 20 automation developers. Any documentation about writing test cases will indicate that having an ID is an important aspect of test case documentation, especially when we don't look at Spock just a Unit test framework but also a great documentation framework which documents the behavior of a system. But point well taken, will a new PR with just ID annotation work?
Yes, test data is independent of the test case being tested. Each test case should have unique identification but not the execution.
|
An annotation, FeatureInfo, to add information about some of the basic test attributes.
This annotation then can be integrated with Spock Reports to add the following
These params then cab be used to create reports like ACC (https://testing.googleblog.com/2011/10/google-test-analytics-now-in-open.html)
This change is