Refactoring some stuff today, it's gotta be fancie...
# cfml-general
d
Refactoring some stuff today, it's gotta be fancier. It's a bit painful, touches more stuff than I wish I had to fiddle with, but it'll be ok on the other side. It says here...
a
It's only "refactoring" if you have automated test coverage. Otherwise it's just "changing shit" 😉 (but good on ya though... it's good to improve one's situation)
😅 1
✅ 1
d
You're not wrong 🙂
a
It's not my quote, I just love it.
d
OK, I'll bite, maybe. We're not doing any automated testing now. This (this part of this anyway) is a very limited scope set of db and code changes that I've tested fairly well with manually written code, and could potentially automate pretty easily. If I was going to dive us into that, what testing frameworks should I be thinking about? Actually, let me rephrase that. I don't have time to do any of this, so I don't want to think about it or research it, I want download one and go. TestBox then? That's not dependent on ColdBox, right? (We're also not using that.)
a
TestBox is stand-alone. Easiest to install from ForgeBox via CommandBox, that said.
And it's the only game in town these days, vis-a-vis testing in CFML
d
Figured, thx.
a
TBH I was literally just teasing yuo. If yer manual testing is solid, it's A-OK really 😄
🤣 1
d
I'd like to get automated testing started though, and this is a pretty low-hanging way in, I'm thinking Just Do It.
a
Nice one. Am happy to support you with this as much as you like. Ping on the #testing channel
👍 1
(and I mean seriously: nice one)
b
oh? There's a 'testing' channel?