News for hackers. Stuff that matters.

khru

Re:Bashunit on Tuesday October 03, 2023 @02:14AM (#37748491)
How would you do It then?
Re:Bashunit on Wednesday September 27, 2023 @01:51AM (#37670682)
Why not? I think that having a testing framework for a "language" that forces you to have another "language" to be able to test is a pain.

Example: let's imagine that to test PHP you had to have Java installed.

What would happen if I got a Java exception or a similar problem? I would have to know Java.

With this example the only thing I wanted to comment is that the Development experience would most likely not be the best

Re:Bashunit on Wednesday September 27, 2023 @01:46AM (#37670658)
What do you mean?
Re:Bashunit on Tuesday September 26, 2023 @06:49PM (#37666885)
What's BATS?
Re:Bashunit on Tuesday September 26, 2023 @06:36PM (#37666752)
I have a project in production and we have some bash scripts and I would like to test to be more sure that everything works as it should and I have been recommended this library that has a great maintenance and it is very active. What do you think?

https://bashunit.typeddevs.com/ https://github.com/TypedDevs/bashunit