profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/pchomik/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

pchomik/pytest-spec 71

Library pytest-spec is a pytest plugin to display test execution output like a SPECIFICATION.

pchomik/linter-python 14

Atom plugin to lint python files

pchomik/gitlab-ci-dashboard 1

Dashboard for monitoring GitLab CI builds and pipelines for TV

pchomik/gitrc 1

A bunch of shell scripts and files dedicated to my use of Git

pchomik/pytest-describe 1

Describe-style plugin for py.test

pchomik/angular2-seed 0

Modular starter (seed) project for Angular 2 apps with fast, statically typed build

pchomik/angular2-starter 0

:star: Extensible Angular 2 Starter using TypeScript (Updated to 2.0.0-rc.6!)

pchomik/angular2-webpack 0

A complete, yet simple, starter for Angular 2 using webpack

pchomik/angular2-webpack-starter 0

:tada: An Angular 2 Starter kit featuring Angular 2 (Router, Http, Forms, Services, Tests, E2E, Dev/Prod, HMR, Async/Lazy Routes), Material Design, Karma, Protractor, Jasmine, Istanbul, TypeScript 2, TsLint, Codelyzer, Hot Module Replacement, @types, and Webpack 2 by @AngularClass

pchomik/atomlinter.github.io 0

A proper webpage for AtomLinter.

issue openedpchomik/pytest-spec

Add support for docstring of test classes

Problem pytest-spec currently doesn't have an option to change how test classes are printed as a specification. There is a spec_header_format but that is different.

Given

class Test_class_XYZ:
    """docstring summary of Test_class_XYZ"""

    def test_case(self, result):
        """docstring summary of test_case"""

Desired

docstring summary of Test_class_XYZ:
  ✓ docstring summary of test_case     

Actual

Class XYZ:
  ✓ docstring summary of test_case

created time in 6 days

PR opened pchomik/pytest-spec

Update README.md
  • Fix broken links to pytest.ini docs
  • Update sample configurations
+43 -2

0 comment

1 changed file

pr created time in 6 days

startedpchomik/pytest-spec

started time in 6 days

fork paxcodes/pytest-spec

Library pytest-spec is a pytest plugin to display test execution output like a SPECIFICATION.

fork in 6 days

issue commentpchomik/pytest-spec

Conda Package Not Found

@pchomik sure, happy to help package it for conda-forge.

I don't know who uploaded it before, I think following this guidance might allow pytest-spec to make it up on conda-forge:

https://conda-forge.org/docs/maintainer/adding_pkgs.html

ndanielsen

comment created time in 9 days

startedpchomik/pytest-spec

started time in 23 days

PR opened pchomik/pytest-spec

Add support for multiline docstrings

In many styleguides multiline docstrings should look like:

"""
First line with title.

Long and boring text with additional information...
"""

But because docstring_summary splits docstring by newlines and catches only the first line it will be empty in such cases.

So I added tests for that scenario and workaround with lstrip()

+42 -1

0 comment

4 changed files

pr created time in 23 days

fork b0g3r/pytest-spec

Library pytest-spec is a pytest plugin to display test execution output like a SPECIFICATION.

fork in 23 days

startedpchomik/pytest-spec

started time in a month

startedpchomik/pytest-spec

started time in a month

startedpchomik/pytest-spec

started time in a month

startedpchomik/pytest-spec

started time in a month

issue commentpchomik/pytest-spec

Strange rendering of parameterized tests

Another output I didn't expect:

Given a parametrized test,

class Test_Something:

  @mark.parametrize(
        "givenDateTime, expectedStartDate, expectedEndDate",
        [
            (
                "2021-03-19 03:00:01",
                datetime(2021, 3, 12, 3, 0, 0, 0),
                datetime(2021, 3, 19, 3, 0, 0, 0),
            ),
        ]
  )
  def test_me(self, givenDateTime: str, expectedStartDate: datetime, expectedEndDate: datetime): ...

Actual Output

Something:
  ✓ Me

Expected Output

Something:
  ✓ Me ["2021-03-19 03:00:01", datetime(2021, 3, 12, 3, 0, 0, 0), datetime(2021, 3, 19, 3, 0, 0, 0)]
paxcodes

comment created time in 2 months

startedpchomik/pytest-spec

started time in 3 months

startedpchomik/pytest-describe

started time in 3 months

startedpchomik/pytest-spec

started time in 3 months

issue openedpchomik/pytest-spec

Conda Package Not Found

Thank you for your work on this wonderful package.

I'm running into an issue when I'm installing this package via conda in CI. pytest-spec==3.0.4 is not found on conda-forge.

PackagesNotFoundError: The following packages are not available from current channels:

  - pytest-spec==3.0.4

Current channels:

  - https://conda.anaconda.org/conda-forge/linux-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://conda.anaconda.org/spyder-ide/linux-64
  - https://conda.anaconda.org/spyder-ide/noarch
  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch

I noticed that older versions were previously public on conda-forge.

https://anaconda.org/conda-forge/pytest-spec

Thanks for this package and you work on it.

created time in 3 months