Selecting individual tests in a cell
See original GitHub issueI’m looking for a way to use pytest
’s selection syntax together with ipytest
. Consider the following cell:
%%run_pytest[clean]
class TestFoo:
def test_bar(self):
pass
def test_baz(self):
pass
class TestSpam:
def test_ham(self):
pass
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:
- Created 2 years ago
- Comments:15 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I pushed a pre-release to pypi. You can install it with
pip install ipytest==0.10.0b1
.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.