I had a job interview this morning, I passed the t...
# cfml-general
I had a job interview this morning, I passed the technology review, and I think that I got the job. They told me to learn about unit tests. What is unit testing in ColdFusion? How do I get started with it?
Hi John.. here are the testbox docs. It should give you some direction in unit testing cfml. https://cfdocs.org/testbox
👍🏾 1
search for the free videos on cfcasts.com - I found 4 that you introduce you to testing with testbox
then you could subscribe to cfcasts to watch other great videos on testing
Also, join the #testing channel!
Hope you get the job
@chapmandu thanks so much for the link to the testbox docs. I am taking a look now.
@Daniel Mejia thanks so much! I will be joining cfcasts so I can look into the testbox videos, and plus I have been meaning to join anyway for their other videos. I think that I have the job, today was the fourth interview, and I passed the tech review, they seemed impressed, but I won't find out for another week. I will let you know :)
👍🏾 1
@seancorfield thanks! I joined the #testing channel.
Lucee has a lot of tests, there are links from each documentation page for tags and functions to search for tests which include that tag or function
💯 1
Also don't confuse "unit testing" with "TestBox". Learning how to use a testing framework is not going to teach you unit testing. However there is an near endless supply of docs and tutorials out there. And as Sean said: there's a testing channel here. If you are just starting out and haven't already inherited less-than-ideal testing practices from elsewhere, I recommend starting by reading up on TDD even the wiki article is a good start: https://en.wikipedia.org/wiki/Test-driven_development. If you test first you will design better code. Also read up on BDD as well, which is complementary to TDD. https://en.wikipedia.org/wiki/Behavior-driven_development
👍 4
👍🏻 1
@Adam Cameron thanks so much for your detailed reply! I am just getting started with unit tests, so thanks so much for the description of what it is and the links. I have some reading to do. Thanks again!
🥇 1