cancel
Showing results for 
Search instead for 
Did you mean: 

Integration testing best practices

samsogade
New Contributor
Hi,

How are large q projects normally integration tested?

We can easily unit test with qspec or K4Unit. But usually q code involves multiple processes interacting with each other, which requires the code to be tested as a group.

Would love to hear how this is usually done at larger organizations. Is it possible to do continuous integration through Travis CI, Github, Slack, etc.?

Thanks,
Morten
1 REPLY 1

P_Bukowinski
New Contributor
Hi
I gave a presentation on that on a London KX Meetup last year.
Here is the link to the presentation:


There's a proposal for yet another test framework,but very simple, with bladeRunner it's CI ready (used jenkins for presentation), it allows you to run , unit, integration and full end to end system tests very easily.
q framework one-liner:

`.t set `T`E`N`G`q`r!(('[.[`.t.R;();,;];])@/:{.[x;(),y;0b]}@/:(1b~;~;('[~:;~]);>)),{ -1 sv["|";.z.x 1 2 3 9],/: .Q.s2 count each group x; exit any not x},{ r,:@[{system x; .t.R};"l ", .z.x 4;{ -2 x; 0b}]; .t.q[r]}; .t.r[]

I just started putting this all to my github:


Thanks
Pat


2016-07-27 16:36 GMT+01:00 Morten <samsogade@gmail.com>:
Hi,

How are large q projects normally integration tested?

We can easily unit test with qspec or K4Unit. But usually q code involves multiple processes interacting with each other, which requires the code to be tested as a group.

Would love to hear how this is usually done at larger organizations. Is it possible to do continuous integration through Travis CI, Github, Slack, etc.?

Thanks,
Morten

--
You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to personal-kdbplus+unsubscribe@googlegroups.com.
To post to this group, send email to personal-kdbplus@googlegroups.com.
Visit this group at https://groups.google.com/group/personal-kdbplus.
For more options, visit https://groups.google.com/d/optout.