An open API service indexing awesome lists of open source software.

https://github.com/dashorst/arquillian-transaction-npe-test

Testcase for Arquillian's TransactionHandler throwing a NullPointerException when outside a testmethod CDI setup fails, masking the original exception
https://github.com/dashorst/arquillian-transaction-npe-test

Last synced: over 1 year ago
JSON representation

Testcase for Arquillian's TransactionHandler throwing a NullPointerException when outside a testmethod CDI setup fails, masking the original exception

Awesome Lists containing this project

README

          

# Arquillian TransactionHandler NPE testcase

This project is a testcase for Arquillian's TransactionHandler throwing
a NullPointerException when outside a testmethod CDI setup fails,
masking the original exception and making development of test cases
neigh impossible.

See [NullPointerInTransactionHandlerTest.java](com/example/arquillian/NullPointerInTransactionHandlerTest.java)
for the detailed test case. This test will always fail (the setup
before the test method fails and this should never result in a succesful
test)