catherio / pytest-catherio

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
https://pytest.org
MIT License
0 stars 0 forks source link

Don't see the expected unicorn emoji #2

Open catherio opened 2 hours ago

catherio commented 2 hours ago

When I run pytest I don't see the usual unicorn emoji.

I am running the test_unittest.py file in this project, like this:

❯ pytest test_unittest.py -k testcase
=================================================== test session starts ====================================================
platform darwin -- Python 3.11.6, pytest-8.4.0.dev127+g5d3a3ac02, pluggy-1.5.0
rootdir: /Users/catherio/code/pytest-catherio
configfile: pyproject.toml
plugins: recording-0.13.2, jaxtyping-0.2.23, torchtyping-0.1.4, anyio-4.5.0, timeout-2.1.0, httpx-0.30.0, cov-4.1.0, subprocess-1.5.0, playwright-0.4.4, trio-0.8.0, mock-3.11.1, typeguard-2.13.3, base-url-2.1.0, hypothesis-6.112.1, hydra-core-1.3.2, test-groups-1.0.3
collected 77 items / 65 deselected / 12 selected

test_unittest.py .....sss....                                                                                        [100%]

======================================= 9 passed, 3 skipped, 65 deselected in 0.31s ========================================

I note that all 9 tests pass, but I did not see the unicorn emoji that I expected. There should've been a unicorn emoji, like this:

======================================= 9 passed 🦄, 3 skipped, 65 deselected in 0.31s ========================================
github-actions[bot] commented 2 hours ago

Hi! To help diagnose this issue, we'll need more information. Could you please provide:

  1. A minimal example that shows the problem, like:

    # test_example.py
    def test_something():
    assert True  # or whatever your actual test does
  2. The exact command you used to run the test

  3. The output you saw

  4. The output you expected to see

This will help us reproduce the issue and figure out what's going wrong. Thanks!