Comments (12)
Sure. We have a TravisCI account. I'll set that up and hook you up.
from mimic1.
I am only familiar with coveralls but it doesn't seem to have as many features as coverity.
from mimic1.
Coverity does static code analysis while coveralls report code coverage. They are complementary I think. For C code I used coveralls in the past (I had forgotten its name, thanks @forslund)
So setting up Travis + coveralls + Coverity will be my first approach to deal with this.
from mimic1.
Sounds like a plan. We might have to use a different test-library if we want to have automated coverage testing. cutest isn't ideal if we want a single unittest executable (which I believe would be good for gcov output).
from mimic1.
I believe a single executable is not needed. I don't recall having problems with gcov and multiple executables in the past (my Travis + coveralls + coverity example is here)
from mimic1.
It's always great to be wrong =)
I've only used gcov-coverage with a small vim-plugin and as I recall the gcov output files was overwritten each time the software was started. Travis + coveralls + coverity are probably smarter than my little tool.
from mimic1.
I would encourage the use of asserts. Along with the mindset of, If an assert fires off, that is a bug, stop everything and fix it. If a particular assert was written for any other purpose than to catch a bug then it should not be an assert. (don't use asserts as if they are a message)
from mimic1.
Question: What does mimic currently use for unit testing? (coming over from flite)
from mimic1.
I rewrote the tests for flite that looked roughly like unittests using the minimal header-file-only cutest library. Mainly because it was simple and didn't require any extra libs.
from mimic1.
Asserts in library code are considered bad practice. This is because they can easily take down the application/daemon using them (e.g. an assistive technology application such as a screen reader), and provide little feedback of the problem to the user/application.
from mimic1.
Partially implemented in #27. Static code analysis remains to be completed.
from mimic1.
Merge of PR #29 resolves this issue. Closing
from mimic1.
Related Issues (20)
- Publish prebuilt mimic releases HOT 2
- windows cross-compilation instructions are not exact. HOT 2
- Problem with speaking. HOT 7
- Voice is not playing over bluetooth HOT 3
- Where is the difference between Mimic and Flite? HOT 2
- Linking fails, but easily fixed HOT 2
- Add support for Palm OS HOT 2
- Unable to make standalone mimic pause and resume at will when reading long text from terminal HOT 5
- Compile for pulseaudio HOT 2
- Using mimic libraries HOT 11
- Distorted 'ap' voice output when compiling with gcc 8.3
- mimic -p '' segs HOT 1
- Tool for creating my own .flitevox? HOT 4
- Dead links: festvox.org doesn't work anymore? HOT 3
- Is there a guide for adding new language support to mimic1? HOT 1
- Windows cross compilation error
- Issue while compiling with LTO enabled HOT 1
- Error when running 'make' HOT 5
- At ./autogen.sh: syntax error near unexpected token `newline'
- "Shared" compilation (with --enable-shared=yes) fails. HOT 2
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 mimic1.