Comments (3)
I'm going to defer this for a later stage.
from tau.
Not quite sure that Tau's at that level yet. It's really meant to be a basic-yet-powerful testing library, but some features might not be available. Have a look at it and see if it's something you can contribute to :)
from tau.
The best we can do is to give some advice on the compiler flags, as such macro system would end up being a template language.
Alternatively, we can look for a c++ template implementation, but this would mean potential maintenance annoyance.
-ftrapv
and for the much saner 2s complement-fwrapv
to trap on overflow- sanitizing undefined behavior https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
other stuff:
- valgrind
-Weverything
+ orientation how to select a sane subset of warnings.something likeCasting pointers from lower to higher alignment is UB and more optimization tailored compilers will introduce weird behavior (clang, gcc) unless given a flag.-Wcast-align
being utterly useless (breaks on pointer cast *u8->*u32),-Wformat
being annoying on address printing in wiki page.- setup for testing in REPL / test-driven development
from tau.
Related Issues (20)
- cmake's install() macro fails with _deps/tau-src/include/tau not found HOT 4
- Please fix tauPrintf macro HOT 1
- --no-summary option doesn't works HOT 1
- --list option must not run but only list the tests HOT 1
- defaults and changing them for compiler errors HOT 8
- base types: 128bit support and description of what arithmetic is checked or not checked (or how to check stuff)
- specify code formatting HOT 1
- Filtering by exact name doesn't work HOT 5
- CHECK with message doesn't work HOT 9
- Abi tests/Helper macros for char signedness HOT 2
- design questions on minimizing dependencies HOT 1
- docs: TEST blocks require that there is no return value HOT 3
- gcc 12.1.0 fails to compile the example
- Compiler warning: -Wunused-but-set-variable
- Documentation for fixture-based testing needed
- If we do tests in a loop, it seems we don't have an easy way to prompt which iteration failed HOT 4
- problem in tauClock under cygwin
- Refactor of macro names related to strings and substrings check, to avoid confusion HOT 11
- Support for Mocks + other features? HOT 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 tau.