TestIt 2.0 #2

Open
DouglasMeyer opened this Issue Oct 6, 2011 · 3 comments

Comments

Projects
None yet
2 participants
@DouglasMeyer
Owner

DouglasMeyer commented Oct 6, 2011

What is to come has some seriously helpful proposals for Testit.

  • Easier to add custom assertions
  • Easier to write extensions
  • More standard reporting
  • Easier to extend
  • Provide default styling

Not entirely sold on the names for TestIt.extend or TestIt.bind, but I think they make sense.

@ghost ghost assigned DouglasMeyer Oct 6, 2011

@teerapap

This comment has been minimized.

Show comment Hide comment
@teerapap

teerapap Oct 11, 2011

It would be great if there's a command to run multiple test files in one time.

It would be great if there's a command to run multiple test files in one time.

@DouglasMeyer

This comment has been minimized.

Show comment Hide comment
@DouglasMeyer

DouglasMeyer Oct 12, 2011

Owner

I guess running this isn't the most fun thing ever.
Not sure if I'll add a binary or not, as all it would essentially be the same as running:

node -e "process.argv.slice(1).forEach(function(file){ require('./'+file); })" tests/*.js

and it doesn't really have anything to do with TestIt; as all it does is requires all the files passed to it. But having something could make TestIt easier to use.

Owner

DouglasMeyer commented Oct 12, 2011

I guess running this isn't the most fun thing ever.
Not sure if I'll add a binary or not, as all it would essentially be the same as running:

node -e "process.argv.slice(1).forEach(function(file){ require('./'+file); })" tests/*.js

and it doesn't really have anything to do with TestIt; as all it does is requires all the files passed to it. But having something could make TestIt easier to use.

@teerapap

This comment has been minimized.

Show comment Hide comment
@teerapap

teerapap Oct 12, 2011

Sorry, I didn't see that Rakefile. I think an approach is that TestIt are able to installed as as a command-line via npm.
And run it like testit [test_dir]

Sorry, I didn't see that Rakefile. I think an approach is that TestIt are able to installed as as a command-line via npm.
And run it like testit [test_dir]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment