Comments (4)
Awesome, lots of new interesting stuff!
I'm wondering about (status dirname)
as pure
support Fish 3.0.2
, we can't use this new syntax but the old one is gone. What should we do?
I use a lot setup
and teardown
in pure
, it's going to be tedious to do the migration... I will probably keep them, just add a call to them
from fishtape.
You can always use dirname
:
dirname (status filename)
or cook something up with the string
builtin.
set --local dirname (string split / --right --max=1 -- (status filename))[1]
I use a lot
setup
andteardown
in pure, it's going to be tedious to do the migration... I will probably keep them, just add a call to them.
All you need to do is:
- function setup
foobar
-end
-function teardown
- piyopoyo
-end
@test ...
@test ...
@test ...
+ piyopoyo
from fishtape.
Think you might of typo'ed. Or maybe you're from the wonderful future (please take me with you!), but fish 3.2 doesn't exist yet. Do you mean 3.1.2 is required for (status dirname)?
from fishtape.
I am not from the future, but I did mean 3.2. You can use status dirname
right now if you install Fish from the HEAD.
from fishtape.
Related Issues (20)
- Missing $DIRNAME in fishtape 2.0.0 HOT 6
- Unsupported -a in fishtape 2.0.0 HOT 7
- Missing end to balance this function definition HOT 1
- Conditional test not running HOT 3
- Files not included in tab completions
- isatty is always 1 in tests
- Feature Request: oh-my-fish support HOT 1
- When a test fails fishtape return status 0 instead of 1
- Doesn't print report properly on Alpine Linux HOT 2
- Measure code coverage HOT 2
- How to debug? HOT 1
- Fishtape 3
- Exclude test file HOT 4
- test vs tests for directory name HOT 5
- actual and expected
- Detect errors HOT 14
- Option to stylize output HOT 2
- Only try to execute all fish files found as tests HOT 3
- No way to specify fish arguments HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fishtape.