sstephenson / bats

Bash Automated Testing System
MIT License
7.12k stars 518 forks source link

Road to v1.0 #196

Open ztombol opened 7 years ago

ztombol commented 7 years ago

What is this?

This is a list containing popular feature requests, common misconceptions and long standing bugs. All of which should be addressed on the way to v1.0.

Not all of these will become part of Bats. Some may be rejected, some may become a footnote in the documentation, while some may be compiled into a best practice guide. What they have in common is that they are all popular and recurring topics, and so they must be addressed in some form.

You can contribute by:

All in all, this is an effort to clean-up the issue tracker as well. Also see #150.

The list

Documentation

Topics in which the documentation should be expanded.

Fixes

Bugs that should be fixed.

Features

Popular feature requests.

Zearin commented 7 years ago

FANTASTIC post!

@ztombol: Keep up the excellent work—not just in the code, but in top-notch posts like this to rally the troops. Excellent technical writing like this is rare (probably more than it should be!), but powerful.

I currently don’t have time to contribute—but if and when that changes, I will certainly sign up for this.

Until then, if you’re reading this and have the time, please contribute! Bats improves life for anyone developing or using bash scripts and programs everywhere. But its benefits go beyond the borders of current bash code; all the “glue” scripts written in bash-flavored shell scripts benefit as well.

Bats also makes bash a more attractive place to program, as other languages have multiple mature testing tools and frameworks at their disposal. It’s long past time that the most popular and widespread dialect of shell scripting had something similar!

Let’s iron out the remaining wrinkles of bats and improve the coding hygiene of bash developers everywhere. ☻

Zearin commented 7 years ago

(P.S.: May The Source™ be with you!)

vanosg commented 7 years ago

As an add-on to the TAPS feature request, perhaps adding a method with which to organize the tests into subtests, particularly so that they can output a TAPS-compliant subtest format? That format is something similar to

  1..3
  ok 1 - First test
      1..2
      ok 1 - This is a subtest
      ok 2 - So is this
        1..2
        ok 1 - This is a subtest
        ok 2 - So is this
  ok 2 - An example subtest
  ok 3 - Third test

Thanks!

Sylvain303 commented 7 years ago

@ztombol I will work on "Test files including other test files." you can assign to me. #99 #169

Sylvain303 commented 7 years ago

@ztombol you can also assign me #36 "Running only a specific set of tests".

btamayo commented 6 years ago

@ztombol @vanosg @Sylvain303 @Zearin:

As per my comment here, I'm migrating @ztombol's fantastic work here to the new repo's Road to v1.0 Project. Please direct PRs there! Thank you.

I'll be turning them into Issues with assignments, etc. as well.

btamayo commented 6 years ago

@Sylvain303 Are you still interested in completing those issues but over at bats-core/bats-core? If you are, I can/will assign you to them once I recreate the relevant issue.

Sylvain303 commented 6 years ago

@btamayo unfortunately I'm missing time. I'm interested, by those issue, #36 + #99 because I need it to complete and release an internal unit test of bats itself. But no change since many month. I saw your interest to wake up bats project, but didn't read your roadmap, yet. :) So yes… Assign them to me and touch me, so I will finally fix it.

That way it will progress. Thanks for your job!

jasonkarns commented 6 years ago

@ztombol #89 (Empty output lines are missing from ${lines[@]}) can be marked resolved.

89 was resolved by #90 (which was merged). #92 intended to revert #90 (as #90 fixed it in a backwards incompatible way) However, #90 was never merged, so the fix (#90) is still in master. As we are prepping for 1.0, even if we decided to revert the fix, we would restore the fix for 1.0.

jasonkarns commented 6 years ago

@ztombol

163 has now been merged over at bats-core as bats-core/bats-core#17

and #141/#142 has been transferred over to bats-core as bats-core/bats-core#19