kohana / ohanzee-helpers

Other
56 stars 10 forks source link

Unit tests #4

Open MacDada opened 10 years ago

MacDada commented 10 years ago

Would you be interested in PHPUnit tests? I could find some time to write them.

dm commented 10 years ago

It's definitely missing a tests folder in there :+1:

shadowhand commented 10 years ago

i think i would rather have codeception or phpspec tests.

dm commented 10 years ago

Sure, but you're thinking of Unit testings anyway, right?

shadowhand commented 10 years ago

codeception does unit tests, as well as bdd tests, read down.

dm commented 10 years ago

Yes, I know.

Should have been a bit clearer, I meant if BDD are of any interest at all, or if you're thinking of Unit tests only?

shadowhand commented 10 years ago

both would be nice, but probably unit tests first. any thoughts?

zombor commented 10 years ago

Why not do things well and start with BDD tests, and then drop down to unit when needed? The tests should come before the code.

shadowhand commented 10 years ago

works for me.

rjd22 commented 10 years ago

I would also go for codeception BDD tests

shadowhand commented 10 years ago

Well I added some Codeception unit tests, but I think that phpspec might be nicer to work with. We don't really need stories for this component.

nexik commented 10 years ago

:+1: for phpspec

For now BDD in Behat\PhpSpec is much better than Codeception