Marcin bloguje

 

01

kwietnia

2011

Advisory Messages to the rescue

Share |

The most crucial part of software development is testing. It should ensure us, that our code is correct, works according to given specs, etc. There are many kinds of tests: unit tests, integration, functional. In general you should try to test the smallest possible subset of your code and be able to check the state of the objects after the test.

This seems as rather easy task, but what if you have an integration end-to-end test to perform? In most cases asserting state in integration test is rather hard due to multiple systems interoperability. Let's focus on a specific situation.

What I needed to do the other day was write some integration test for Jms based system. The processing pipeline is easy:

some other system (X-system) polls JMS:

 
 

Miniblog

21 kwietnia 2010, 18:01:59 | Reaktywacja o-filmoramy? |

Mam nadzieję, że wreszcie jednak ruszę z blogiem filmowym, po raz kolejny należy mu się reaktywacja.

http://o-filmorama.blogspot.com

Szukaj

Promocja