kiskae / compile-testing-extension Goto Github PK
View Code? Open in Web Editor NEWAccess to the java.lang.model API for jUnit5 tests
License: Apache License 2.0
Access to the java.lang.model API for jUnit5 tests
License: Apache License 2.0
I know jfrog promises to keep jcenter forever but
When I use this extension to test my annotation processor, I notice that type annotations are ignored (annotations TYPE_USE
)
For a given class :
public class TestToParse {
private @MyAnnotation String field;
}
When using Elements
provided by the extension, I get the right field but @MyAnnotation
is missing.
Hi,
I've created an annotation processor and tried to test it with compile-testing and junit 5 (the default in my company) with no luck since it has a compile dependency on junit4.
Then I saw your pull request and I'm trying now with your extension.
But I keep receiving the message in title from eclipse and when running with maven no test is found.
Are you able to use Junit 5 to test your annotation processors ?
Basically afterAll
lifecycle hook is invoked per "test container" and it will put the extension in an unexpected state. A small-ish fix might be to abandon the optimization of one compilation per test suite and just purely use one per test method. A more involved fix that retains the optimization will need to properly handle compilation termination
Hello,
since the original maintainers don't seem to be updating to junit 5 anytime soon.
I have published a fork of compile-testing here:
https://github.com/jbock-java/compile-testing
I have already made a couple of releases on maven central.
For the next release, I am planning to move to junit 5 and would like to add CompilationExtension
.
Even though I don't fully understand yet what's going on with all that async stuff.
It looks like solid code and seems to work fine.
Would you be willing to contribute to the repo with a PR?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.