Git Product home page Git Product logo

compile-testing-extension's People

Contributors

kiskae avatar petedmarsh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

petedmarsh

compile-testing-extension's Issues

Type annotations ignored by compilation extension

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.

No tests found with test runner 'JUnit 5'

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 ?

Illegal state when used with `Nested` JUnit classes

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

Add to compile-testing

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.