• Python Cook Book
  • Introduction
  • Book
  • Class
    • MetaClass
    • Method Resolution Order(MRO)
    • Super
  • Codec
  • Command-line
    • argparse
    • click — Click is a command line library for Python
    • docopt — Command-line interface description language
    • getopt
    • sys.argv
  • Compile
    • Pyc
    • Pyd
    • Pyo
  • Data Types
    • Array
    • Datetime
      • ISO 8601
        • Week
      • Strftime
      • VS.
        • vs.
        • vs.
        • vs.
    • Decimal
    • Int
    • List
      • Repeat Elements
      • Count Not None
    • String
      • Modify Characters In String
      • Padding
      • Remove Whitespace
      • Split Every N Character
      • + vs. join
      • % vs. format
  • Debug
    • ipdb
  • Descriptor
    • __get__/__set__/__delete__
    • Property
  • Extension
    • C
      • CTypes
      • Cython
      • SWIG
      • Python/C API
  • File
    • Common
      • Create File or Dir
      • Create Huge File
      • Delete File or Dir
    • Format
      • CSV
      • EXCEL
      • XML
      • YAML
  • Function
    • Built-in
      • next
      • setattr/getattr/hasattr
      • zip
  • Generator
    • itertools
      • groupby
      • permutations
      • combinations
    • more_itertools — More routines for operating on iterables, beyond itertools
    • yield
  • Image
    • Data
      • Binary
      • Base64
    • Format
      • WebP
    • Function
      • Compression
      • Cropper
      • Thumbnail
      • Verification Code
  • Import
    • __all__
    • absolute_import
    • Circular Imports
    • Import From Parent Folder
    • iSort Imports
  • Interprocess Communication
    • Calling External Command
  • Lambda
  • Library
    • 3rd
      • pandas — powerful Python data analysis toolkit
      • versions — Software Version Comparison
    • Standard
      • ConfigParser — Configuration file parser
      • Libs and cLibs
      • argparse — Parser for command-line options, arguments and sub-commands
      • collections — High-performance container datatypes
      • copy — Shallow and deep copy operations
      • functools — Higher-order functions and operations on callable objects
      • itertools — Functions creating iterators for efficient looping
      • json — JSON encoder and decoder
      • os.path — Common pathname manipulations
      • operator — Standard operators as functions
      • shutil — High-level file operations
  • Magic Method
    • Abstract Base Classes
      • __get__/__set__/__delete__
    • Construction and Initialization
      • __new__/__init__/__del__
  • Packaging
    • Binary Eggs
    • Requirements.txt
    • Upload PyPI
      • reStructuredText
  • Python3
    • await/async
    • Compatibility
      • __future__ — Future statement definitions
      • Compat
      • Future — Easy, clean, reliable Python 2/3 compatibility
      • Six — a Python 2 and 3 compatibility library
    • Hug
  • Safety
    • eval
  • Serialization
    • JSON
  • Socket
    • socket — Low-level networking interface
  • Sort
    • Lambda
    • Operator.itemgetter
  • Style Guide
    • PEP 8
  • Syntax
    • Dict Comprehensions
    • Generator Expressions
    • List Comprehensions
    • Set Comprehensions
  • Test
    • Docstring
    • Nose2
    • Pytest
    • Unittest
    • Tox
  • Workflow
    • Pyenv — Simple Python version management
    • Pip — The PyPA recommended tool for installing Python packages
      • pip
    • Virtualenv — Virtual Python Environment builder
    • Pipenv — Sacred Marriage of Pipfile, Pip, & Virtualenv
  • PyPI
    • Source
  • Why Ever
    • Single Element Tuple
  • Idiom
Powered by GitBook

Test

Test

Docstring

Pytest

  • https://github.com/Brightcells/SinicValidate/blob/aba14c9a77cfa036ff6637d8af67a01f761fce90/tests/test__main.py

Unittest

  • https://github.com/Brightcells/SinicValidate/blob/5ddfa6f9e5d372136f6a30ed8fa24d45c3808240/test_SinicValidate.py

Tox

References

results matching ""

    No results matching ""