Comments (6)
A thought: wouldn't it be better to add the full __FILE__
name at the beginning and remove it from the single lines leaving only the line number?
from tst.
@greg-is-kub. Thanks for the suggestion!
I wonder, however, if this could not cause a problem for projects that might have the same file name under different directories.
Yes, they shouldn't :)
But what if they do?
So I switched the printing of the full path off but the user can turn it on again by compiling with TSTFULLPATH
defined. I've also updated the README file.
It's great to have feedback like this.
from tst.
ANd thanks to you pointing me to to check2
I was wondering if I should simplify and make testrun()
take the role of main
.
Let's do it. But please let me know what you think.
from tst.
Thats a good idea ! This would remove the need fore the __FILENAME__
macro & give a more minimal display.
Imo having "test / fail message / file / line is a bit cluttery.
from tst.
You can have a look at the devel
branch.
Another functionality could be to produce a compact machine-friendly log that would be expanded into a fullyu human-readable log by another script. What do you think?
from tst.
CLosing.
Full path only at the top of the run. Only the line number is reported for each test.
from tst.
Related Issues (6)
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 tst.