Skip to content

Resistance is Futile, Mocks Will Be Assimilated [Workshop]

Photo of Nacho Cougil
Hosted By
Nacho C.
Resistance is Futile, Mocks Will Be Assimilated [Workshop]

Details

Hi community!

How were the holidays? We hope you have a nice time and enjoy it.

So, here we are, ready for our next event, this friday 25th and this time we will be focused in testing and mock objects (http://en.wikipedia.org/wiki/Mock_object) and playing with some great tools about these topics driven by Alex Soto (http://twitter.com/alexsotob).

Let's think a little about testing. Everybody is mocking in unit test. To test what? Your code will be run within a Java EE container. Let's start writing fast real tests.

https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2Fzeroturnaround.com%2Fwp-content%2Fuploads%2F2013%2F01%2FPUZZLE-1.jpg&container=blogger&gadget=a&rewriteMime=image%2F*

Are you confident enough to push your application to production without fear? Will it run correctly with all components? Keep the fail whale at bay? Confidence comes from writing real tests.

In this workshop we are going to see how some tools like Arquillian (http://arquillian.org/), Byteman (http://www.jboss.org/byteman), NoSQLUnit (https://github.com/lordofthejars/nosql-unit) or Moco (https://github.com/dreamhead/moco) and other programs, may help us writing real tests in situations where you typically would use mocks.

Come to this workshop and learn how to write faster and more effectively tests!

Here is the script of the event (http://lanyrd.com/2014/resistance-is-futile-mocks-will-be-assimilated-t-2/):

• Some Theory
What are and what happens with mocks?
Are there alternatives?
Mocks, stubs and fakes
Explanation of typical scenarios where mocks are used (Business Layer, Data Layer, External Services Layer, UI Layer)

• Engage!!!
Writing real tests in Business Layer with Arquillian
Writing real tests for External Services Layer.
Writing real tests for Ajax-Enabled UI applications under different browsers (including Mobile ones)
The Cloud

• Conclusions

These are the requirements for this workshop:

• download this repo (https://github.com/lordofthejars/bjugbank) ( https://github.com/lordofthejars/bjugbank ),

• Eclipse IDE with these plugins already installed: egit, m2e (Maven) and Maven Profiles Management ( http://marketplace.eclipse.org/content/maven-profiles-management#.U041U_mSwZ4 )

As we have mentioned, this workshop will be driven by Alex Soto (asotobu@gmail.com). Alex (http://twitter.com/alexsotob) is a software engineer specialized in enterprise technologies, test automation and continuous delivery based on the Java platform. He has over a decade of experience in the Java world, yet continually renews his skill set by learning new aptitudes and technologies every day. Moreover he is involved in the open source world in projects like NoSQLUnit (https://github.com/lordofthejars/nosql-unit), Asciidoctor (http://asciidoctor.org/) or Arquillian (http://arquillian.org/). He is an international speaker, presenting his talks at software conferences like Devoxx, LinuxTag, Codemotion, Guatemala JavaDays, JavaLand or GeeCon.

https://d8142femxnlg1.cloudfront.net/cropped-profile-photos/29afaecc4ac7cc47ef253eebae94b12e8a391ebc-t640.jpg

That's all guys, just remember to reserve your seat and come this friday 25th at 7pm at our usual place, La Fontana (http://lafontana.org/). Ah! Do not worry about the language, this workshop won't be in english ;-)

See you this friday!

Photo of Barcelona JUG group
Barcelona JUG
See more events
Espai Jove La Fontana
Carrer Gran de Gràcia, 190, 08012 · Barcelona