Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python PyTest Test Runner for CodeRoad

NotificationsYou must be signed in to change notification settings

coderoad/pytest-coderoad-deprecated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTest Python test runner for Atom-CodeRoad.

Setup

Install Python

pip install -U pytestpip install tap.py

Writing Tests

There are two parts your tests will need: a task number and a feedback message.

Task number

Class title specifying the task number:class Test##

  class Test01:    # tests here  class Test02:    # tests here
Feedback message

Test method providing the feedback message and starting withtest_

  class Test01:    def test_b_is_not_true(self):      assert b == True      # fails with message "b is not true"    def test_a_is_not_one(self):      assert a == 1      # fails with message "a is not one"

About

Python PyTest Test Runner for CodeRoad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp