-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add cssClass to @IsTag to customize tags in HTML reports #69
Conversation
Thanks for picking this up so quickly! 👍 |
- also copy the custom CSS file to the target folder (fixes #70)
1 similar comment
Add cssClass and color to @istag to customize tags in HTML reports
@nobeh if you want to try out the new feature you can do so by using the snapshot repository https://oss.sonatype.org/content/repositories/snapshots/ with JGiven version |
I'm having this tag: @IsTag(value = "Story", description = "Ticket is a tag to label test scenarios.",
descriptionGenerator = TicketDescriptionGenerator.class,
prependType = false, type = "Story", color = "blue")
@Retention(RetentionPolicy.RUNTIME)
public @interface Story {
/**
* @return
*/
String value();
} and the tag is used like then using <div class="tag-line">
<div class="tag tag-Story">
<a href="Story-CSP-3031.html">CSP-3031</a>
</div>
</div> and using <span ng-repeat="tag in scenario.tags" class="tag ng-scope">
<a href="#tag/Story%2FCSP-3031">
<span class="radius label ng-binding">CSP-3031</span>
</a>
</span> What am I missing? |
Are you sure that updated the version to 0.7.2-SNAPSHOT? |
Yes, all dependencies are now using 0.7.2-SNAPSHOT, and only JGiven Maven plugin is at 0.7.1. |
I guess you have to update the JGiven maven plugin also to 0.7.2-SNAPSHOT |
Trying that yields to:
|
ok, I will have a look at that and tell you when you can test again |
ok, I have republished the artifacts to the snapshot repository. It should work now. |
Great! Thanks for testing! |
Any chance of releasing 0.7.2 soon? 😀 |
Well, it wouldn't be a very big release, but it wouldn't hurt either ;-) |
Add a new attribute
cssClass
to the@IsTag
annotation.