Skip to content

Weld junit5 with ParameterizedTest and ValueSource annotations

License

Notifications You must be signed in to change notification settings

yuriy-ln/weldTestParametrized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weldTestParametrized

The project is created as minimal example to show the problem using Weld junit5 library with @ParameterizedTest and @ValueSource junit5 annotations.

Run ServiceExampleTest and see the doesntWork() + doesntWork2() fail if @ExplicitParamInjection is missing.

In order to fix it you should use @ExplicitParamInjection annotation on test class.

About

Weld junit5 with ParameterizedTest and ValueSource annotations

Resources

License

Stars

Watchers

Forks

Languages