Skip to content
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

Tests from Spock specifications are not shown in the sample snippets #4

Open
kubamarchwicki opened this issue Mar 9, 2014 · 2 comments

Comments

@kubamarchwicki
Copy link
Contributor

For example this one: http://javaee-samples.github.io/sample/jpa-extended-pc/index.html

The actual test scenario. https://github.com/javaee-samples/javaee7-samples/blob/master/jpa/extended-pc/src/test/java/org/javaee7/jpa/extended/pc/ExtendedPersistenceContextSpecification.groovy

Nothing urgent nor important. I'll try to fiddle with that a bit (on my ruby exploration path ;))

@aslakknutsen
Copy link
Member

Yeah, we need to support groovy in there as well..

https://github.com/javaee-samples/javaee-samples.github.io/blob/develop/_ext/samples.rb#L162

Currently we're running JavaDoc and ignoring files not matching Test|TestCase.
Not sure how well JavaDoc works on groovy files..

We probably want to move to a more direct source parse approach, using AntlrJavaParser for the Java bits, and something similar for the Groovy..

https://github.com/antlrjavaparser/antlr-java-parser

@kubamarchwicki
Copy link
Contributor Author

In fact it doesn't work at all. *.groovy files are just ignored

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants