github.com/NeowayLabs/nash@v0.2.2-0.20200127205349-a227041ffd50/tests/doc.go (about)

     1  // Package tests contains all nash tests that are blackbox.
     2  // What would be blackbox ? These are tests that are targeted
     3  // directly on top of the language using only the shell API,
     4  // they are end to end in the sense that they will exercise
     5  // a lot of different packages on a single test.
     6  //
     7  // The objective of these tests is to have a compreensive set
     8  // of tests that are coupled only the language specification
     9  // and not to how the language is implemented. These allows
    10  // extremely aggressive refactorings to be made without
    11  // incurring in any changes on the tests.
    12  //
    13  // There are disadvantages but discussing integration VS unit
    14  // testing here is not the point (there are also unit tests).
    15  //
    16  // Here even tests that involves the script calling syscalls like
    17  // exit are allowed without interfering with the results of other tests
    18  package tests