Open thedavidprice opened 4 years ago
Hi there! @thedavidprice . I am a new contributor, can I take this on?
Hi @barakcodes! If you're willing, this would be a huge help. I just apologize in advance for the current state of mess. 😬
Because there are some general questions we have around CLI testing in general and one aspect of this would be to improve CLI test structure+process, here's my suggestion for a plan of attack:
yarn rw db save
on Windows -- https://github.com/redwoodjs/redwood/issues/575Some notes and background:
Anything missing or further questions at this time? And, assuming I didn't scare you off, are you still interested? (I hope so! But also know we can break this down into smaller steps as needed if needed 🚀)
FYI: there's a new document coming for CLI and also explains the Generator tests https://github.com/redwoodjs/redwood/pull/663
Hey @thedavidprice ! I'm still here. Got a bit occupied I'll get to it and run by you my plan of approach and we can discuss it. I'm very excited about it
@barakcodes sounds fantastic. And grateful in advance for the help 💯
Existing good test coverage:
db.js
destroy.js
generate.js
lib.js
: tests are good but maybe auditQuestions:
cli/__mocks__
was created for the Destroy tests -- is there overlap with fixtures incli/lib/__tests__
and/or should there be?Commands/Options needing test coverage (or test improvements):
build.js
dev.js
info.js
lint.js
open.js
test.js
upgrade.js
redwood-tools.js
Not clear in all cases above how to write effective tests.