It takes only a little bit of work to make Arquillian REST Client Extenions work with Unitils so that you can seed your database before each test in @RunAsClient mode.
Blog
Showing posts with label Arquillian. Show all posts
Showing posts with label Arquillian. Show all posts
Tuesday, 1 July 2014
Tuesday, 26 November 2013
Monday, 18 November 2013
Arquillian Persistence+REST+JRebel
Wondering how to speed up integration test development for your RESTful service?
Wednesday, 23 October 2013
Arquillian REST Extension - Client
Arquillian REST Extension allows you to test your RESTful applications both on the client and server side.
In this post I will present you client side testing.
In this post I will present you client side testing.
Wednesday, 20 February 2013
Graphene hangs when page fragment not found
For the purpose of small workshop held at PWSZ in Tarnow. We've written quick test based on Graphene (2.0.0.Alpha3). Bad luck happened that after several hours the test stopped to work. No, it didn't fail, it hang!
Friday, 8 February 2013
Faster Arquillian and Graphene 2 test development
Tired of long turnaround when writing tests with Arquillian and Graphene 2?
Thanks to Pavol Pitonak we've learned how to speed test development up by order of magnitude.
Thanks to Pavol Pitonak we've learned how to speed test development up by order of magnitude.
Monday, 18 June 2012
Mock conversation
Mock-contexts-extension allows you to turn conversation and view scopes on for your Arquillian tests. However the Conversation implementation in Weld is so tightly bound to Weld that you need to create mock alternative for it.
Monday, 28 May 2012
Mock FacesContext in Arquillian
Recently I wanted to test my backing beans for JSF views. Unfortunately the EntityQuery (from seam3-persistence-framework) is very tightly bound to JSF api, particularly it depends on FacesContext.getCurrentInstance().getELContext(). The problem is that the tests are not associated with JSF requests, so FacesContext.getCurrentInstance() returns null.
I decided to extend mock-contexts-extension to help mocking FacesContext.
I decided to extend mock-contexts-extension to help mocking FacesContext.
Thursday, 26 April 2012
Arquillian meets JRebel
Writing tests with Arquillian is so cool. Our tests are run in container, we can inject various artifacts like EJBs, JMS queues, CDI beans and more into our tests.
But the turnaround for big deployments is too big. Even for smaller ones, if you for example use Seam3 or Hibernate it takes some seconds to redeploy. And those seconds add up.
But I've got good news for you!
But the turnaround for big deployments is too big. Even for smaller ones, if you for example use Seam3 or Hibernate it takes some seconds to redeploy. And those seconds add up.
But I've got good news for you!
Thursday, 19 April 2012
Mock contexts for Arquillian
Do you have @ViewScoped or @ConversationScoped annotated beans that you want to test with Arquillian?
Do you get "WELD-001303 No active contexts for scope type javax.enterprise.context.ConversationScoped"?
Well now you get mock-contexts-extension to the rescue.
Do you get "WELD-001303 No active contexts for scope type javax.enterprise.context.ConversationScoped"?
Well now you get mock-contexts-extension to the rescue.
Subscribe to:
Posts (Atom)