Warning: mkdir(): No space left on device in /var/www/hottg/post.php on line 59

Warning: file_put_contents(aCache/aDaily/2025-07-22/post/yegor256news/--): Failed to open stream: No such file or directory in /var/www/hottg/post.php on line 72
How do you test your Bash scripts? Good question @@yegor256 news
TG Telegram Group & Channel
@yegor256 news | United States America (US)
Create: Update:

How do you test your Bash scripts? Good question, right? I found an xUnit framework for that: shunit2. It works like a charm on both Linux and macOS. I'm now planning to migrate a hundred tests in the yegor256/cam repository to this framework. Want to help? Jump in.

Update: I don't like it, because it doesn't isolate tests — while this is one of the most important principles of unit testing.

How do you test your Bash scripts? Good question, right? I found an xUnit framework for that: shunit2. It works like a charm on both Linux and macOS. I'm now planning to migrate a hundred tests in the yegor256/cam repository to this framework. Want to help? Jump in.

Update: I don't like it, because it doesn't isolate tests — while this is one of the most important principles of unit testing.
21👍12


>>Click here to continue<<

@yegor256 news




Share with your best friend
VIEW MORE

United States America Popular Telegram Group (US)


Warning: Undefined array key 3 in /var/www/hottg/function.php on line 115

Fatal error: Uncaught mysqli_sql_exception: Too many connections in /var/www/db.php:16 Stack trace: #0 /var/www/db.php(16): mysqli_connect() #1 /var/www/hottg/function.php(212): db() #2 /var/www/hottg/function.php(115): select() #3 /var/www/hottg/post.php(351): daCache() #4 /var/www/hottg/route.php(63): include_once('...') #5 {main} thrown in /var/www/db.php on line 16