weld / weld-testing

Set of test framework extensions (JUnit 4, JUnit 5, Spock) to enhance the testing of CDI components via Weld. Supports Weld 5.
http://weld.cdi-spec.org/
Apache License 2.0
101 stars 30 forks source link

JaxRS Support? #102

Open JanGatting opened 4 years ago

JanGatting commented 4 years ago

Is there any possibility to test REST jaxRs WebServices with Weld JUnit?

manovotn commented 4 years ago

Hello,

I am not sure I understand the question. You can still use Weld JUnit to boot the CDI container for you. How you then perform those tests is up to you.

JanGatting commented 4 years ago

Hi,

many thanks Weld-junit. I like it very much. About jaxRS Support, it would be great to test REST WebServices without a http Server running. Something like that:

http://cdi-unit.github.io/cdi-unit/#jaxrs-support

Regards Jan Gatting

Am 22.06.2020 um 09:23 schrieb Matej Novotny notifications@github.com:

 Hello,

I am not sure I understand the question. You can still use Weld JUnit to boot the CDI container for you. How you then perform those tests is up to you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

manovotn commented 4 years ago

This looks like more of a cross-framework support you are asking for. In this case you are probably better off looking into whatever options the platform you are using has for testing. It also no longer looks like "unit" testing.