Skip to content

Commit

Permalink
move tests in directory t-github-ci [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
lyokha committed Apr 28, 2024
1 parent ff119fe commit 1cb4a2f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions test/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
#### Automatic tests with prove

Run automatic tests in directory *t/* using command *prove* from Perl module
*Test::Harness*. Tests require additionally Perl module *Test::Nginx::Socket*.
They can be run by a regular user.
Run automatic tests with command *prove* from Perl module *Test::Harness*.
Tests require Perl module *Test::Nginx::Socket*.

##### Build and install Haskell library

```ShellSession
$ cd t
$ make
$ sudo make install
```

##### Run tests

Tests can be run by a regular user.

```ShellSession
$ prove -r t
$ prove t/basic.t
```

Add option *-v* for verbose output. Before run, you may need to adjust
environment variable *PATH* to point to a specific Nginx build for testing.
environment variable *PATH* to point to a specific Nginx build.

File renamed without changes.
File renamed without changes.

0 comments on commit 1cb4a2f

Please sign in to comment.