testing

Testing tools, testing philosophy & methodology...
abarylko 2016-08-15T18:30:46.000049Z

is there a newbies channel for questions? or can I just ask here?

roberto 2016-08-15T18:31:12.000050Z

there is a beginners channel (for general clojure questions)

roberto 2016-08-15T18:31:23.000051Z

if you have questions about testing, you can ask them here

roberto 2016-08-15T18:31:44.000052Z

a good rule of thumb for async communication: don’t ask to ask, just ask

abarylko 2016-08-15T20:03:19.000053Z

perfect! Thanks @roberto!

abarylko 2016-08-15T20:03:46.000054Z

I want to test an api endpoint to work with pagination

abarylko 2016-08-15T20:04:08.000055Z

this test is going to be very similar for many resources

abarylko 2016-08-15T20:04:52.000056Z

I was wondering if I can create a function that has multiple deftest

abarylko 2016-08-15T20:07:17.000057Z

or what would be a good approach to do so

roberto 2016-08-15T20:30:11.000058Z

I’m afraid I don’t understand. Some code snippets would help. I don’t think I’ve ever had the need to wrap deftest inside a function, btw.

abarylko 2016-08-15T20:32:08.000059Z

I have an api with two endpoints customers and houses and I want to test that both of them behave as I expect when using pagination

abarylko 2016-08-15T20:35:40.000062Z

I was wondering what would be the idiomatic way to share/reuse the same assertions for houses