Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Selecting individual tests in a cell

See original GitHub issue

I’m looking for a way to use pytest’s selection syntax together with ipytest. Consider the following cell:


class TestFoo:
    def test_bar(self):

    def test_baz(self):

class TestSpam:
    def test_ham(self):

Normally, I can for example pass $FILE::TestFoo::test_baz to select an individual test. Since I don’t know the temporary file created by ipytest I can’t do that here.

Would it be possible to simply prefix the temporary file in case ipytest encounters an argument starting with a double colon ::? Since there is no such pytest command, IMO it shouldn’t break anything else.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

chmpcommented, May 12, 2021

I pushed a pre-release to pypi. You can install it with pip install ipytest==0.10.0b1.

chmpcommented, May 9, 2021

Sure will do. There are some other changes I would like to implement in the same release (mostly cleaning up the interface), but I should be able to push a pre-release the coming days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Select specific cells or ranges - Microsoft Support
Select named or unnamed cells or ranges by using the Go To command · Press F5 or CTRL+G to launch the Go To...
Read more >
Running a t-test in Excel
Click on the “Data” menu, and then choose the “Data. Analysis” tab. You will now see a window listing the various statistical tests...
Read more >
7 Keyboard Shortcuts for Selecting Cells and Ranges in Excel
Learn keyboard shortcuts that will help make navigating your worksheet, selecting cells, and highlighting ranges a better experience.
Read more >
How to Check If Cell Contains Specific Text in Excel - YouTube
In this video, we will teach you how to check if a cell contains a specific text in Excel.For that, we will be...
Read more >
Excel 2016 - How to Highlight Find and Select Multiple Cells
This Excel 2016 tutorial shows you all of the basics of selecting cells and ranges, as well as keyboard shortcuts tips and tricks....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found