hi,
i've been thinking about the def-suite* vs in-suite* thing, and talking to some people who use fiveam, and i realized that even though i'd like to optimize fiveam's api for the "common case," the only common case i know of is me. and i'm not always the most common user.
if you have 5 minutes (or 10), i'd really appreciate it if you could tell me:
1 - do you use test suites?
1a - if so, do you generally have one suite you're working on or do you switch from suite to suite regularly?
2 - do you run tests via asdf (or whatever) regularly?
3 - do you C-cC-c single tests in a file or do you just recompile entire files?
4 - do you use *debug-on-failure* ?
5 - do you test before the code runs or do you test to check that the code does actually run?
6 - do you cut 'n paste repl interactions to write your test from?
7 - have you ever used the function 5am:! ?
thanks,
On 12/10/12 Dec 10 -2:14 AM, Marco Baringer wrote:
hi,
i've been thinking about the def-suite* vs in-suite* thing, and talking to some people who use fiveam, and i realized that even though i'd like to optimize fiveam's api for the "common case," the only common case i know of is me. and i'm not always the most common user.
if you have 5 minutes (or 10), i'd really appreciate it if you could tell me:
1 - do you use test suites?
Yes
1a - if so, do you generally have one suite you're working on or do you switch from suite to suite regularly?
We have a master suite for a project, which we run in our continuous integration. That master suite has multiple sub-suites so that we can test individual components.
2 - do you run tests via asdf (or whatever) regularly?
Yes. Multiple times a day using Jenkins. Some of these are run through ASDF, some through a locally-written piece of scripting infrastructure that checks the output of FiveAM.
3 - do you C-cC-c single tests in a file or do you just recompile entire files?
Both.
4 - do you use *debug-on-failure* ?
Yes.
5 - do you test before the code runs or do you test to check that the code does actually run?
Both: we have multiple developers locally, who work in different ways.
6 - do you cut 'n paste repl interactions to write your test from?
Yes.
7 - have you ever used the function 5am:! ?
No.
On 10 December 2012 at 09:14 Marco Baringer mb@bese.it wrote:
if you have 5 minutes (or 10), i'd really appreciate it if you could tell me:
1 - do you use test suites?
Yes. One per package usually.
1a - if so, do you generally have one suite you're working on or do you switch from suite to suite regularly?
Mostly working on one suite.
2 - do you run tests via asdf (or whatever) regularly?
Yes. I try now to integrate them in at least every new system.
3 - do you C-cC-c single tests in a file or do you just recompile entire files?
Both. Single test for small changes, whole file regularly.
4 - do you use *debug-on-failure* ?
Yes, rarely though.
5 - do you test before the code runs or do you test to check that the code does actually run?
Mostly the latter. Edge cases and so on.
6 - do you cut 'n paste repl interactions to write your test from?
No.
7 - have you ever used the function 5am:! ?
No. (I'm only using *-*** regularly.)