tmuras / moosh

Moosh
GNU General Public License v3.0
234 stars 177 forks source link

Add test framework to Moosh #280

Open laurentdavid opened 4 years ago

laurentdavid commented 4 years ago

Actual behaviour

Moosh is an excellent tool and the code base is growing steadily. However, as I was developping a couple of additional commands I found myself struggling with the way "unit testing" was setup in this project (https://moosh-online.com/dev/). I would like to use this ticket as an epic so we can track further improvements to the way we can add then test a new Moosh functionality.

Expected behaviour

I would go by a couple of steps:

Any comments ? If it is a direction we want to go, I am ready to tackle a couple steps now and then.

tezvi commented 4 years ago

Hi David,

the vagrant box could probably be upgraded. Anyway, your proposition is solid. Docker could be a nice and lighter way of recreating test environment and run test scenarios. If you're up to for a docker collaboration let me know. Perhaps I might help.

Cheers

laurentdavid commented 4 years ago

Hi Andrej,

Thanks for the reply. Yes I am up for it and really happy it can be a way forward. Let's connect in Jan. as I will have more time to dedicate to it then.

tezvi commented 4 years ago

Ok, we can experiment on a separate branch and see how we can optimize testing, provide some pro/cons and valid use cases so others can give us feedback. @tmuras

tmuras commented 4 years ago

Hi guys. The testing is something that bothers me for a long time. Here is what I've come up with - https://moosh-online.com/dev/

Any suggestions are most welcome.