openresty / openresty/test-nginx

Feature request: check parse errors / nginx to die

Open
#10 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
456
Forks
112
PR merge metrics
No merged PRs in 30d

Description

I want to test nginx fails when it gets bogus configuration. As far as I can see, I can not do that with current 0.23 version.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the test-nginx data-driven test scaffold and its current handling of nginx configuration errors. Determine how a bogus configuration could be exercised and how failure is reported; done means a test can assert that nginx dies on invalid configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx, perl
Domain
backend, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.