Open jamiejackson opened 8 years ago
I just realized that the tests all pass in ACF9, but not in Lucee 4. That gives me something to work with.
Jamie-
I have yet to actually setup the tests since I started working on this project - I just sort of setup the project and started working on documentation but didn't get to even trying the automated tests. So you are already ahead of me on trying out the tests.
Looks like you are making some progress though!
-Cameron
In https://github.com/teamcfadvance/ValidateThis/pull/94, I've now got all the functional tests working in Lucee 4, and four out of eight previously failing unit tests are now passing. (Four unit tests left.)
By the way, assuming I'm doing it right, testing is easy, if you've got the right stuff:
cfSelenium
, mxunit
, and ValidateThis
directly under the web root.) BTW, I've been using commandbox 3.1's fancy new multi-engine support to make it super easy to switch/test different engines and versions.http://your_host:your_port/ValidateThis/unitTests/run.cfm
http://your_host:your_port/ValidateThis/functionalTests/run.cfm
* I have a pull request (https://github.com/teamcfadvance/CFSelenium/pull/25) in for CFSelenium, too, which gets things working there.
Once the chips settle, I'll write this up in the readme, or something.
I'm writing some new features and I'd like to have code coverage for the new bits, as well as prevent regressions in the old bits, but there are a handful of failures right out of the box.
I took a look at a couple of them, but they weren't the sorts of things where it was clear what the intent was, so it wasn't easy to see if the problems were with the tests or with the code under test.
(Note, I'm running with https://github.com/teamcfadvance/ValidateThis/pull/94; otherwise, I wouldn't be able to run the tests at all.)
Functional Tests
http://127.0.0.1:40878/ValidateThis/functionalTests/run.cfm
Unit Tests
http://127.0.0.1:40878/ValidateThis/unitTests/run.cfm
I realize this isn't the most active project in the world, but if anyone can help me at least start with a firm test foundation, I'd be grateful.