tarantool / tarantool/luatest

Add equivalent to `assertDoesNotThrow`

Open
#243 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
41
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Now we have assert_error, but we don't have opposite one - if I want to check that function doesn't throw error

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 existing assert_error entry point and its tests to understand the assertion API and conventions. Add the corresponding no-error assertion, then verify that it passes when the function completes and fails when it raises an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.