mdbs99/git-work

Automated tests

Opened this issue · 6 comments

Every time we change the git-work code, we have to do manual tests. This step consumes a lot of enfort and time. So, we need implement automated tests do improve it and garantee code quality to this project. @mdbs99 WDYT?

You're absolutely right. Do you see a way to make this using bash?

There are some Unit tests frameworks, but I don't know which is the most used.

@mdbs99 I don't know which is most used too. Maybe we should look at git source code too. WDYT?

It's a huge code!
Well, we can try... but did you see the Unit test frameworks in the previous link? Looks simple to me.

I got a recomendation to use BATS. This tutorial could help us in its usage. WDYT?

Ok, let's try this.
Could you make the environment and a first test?