Comments (6)
With the command line nature, some testing could be added pretty easily. The approach to manual testing I was doing was comparing the output of BridgePoint prebuilder with pyxtuml prebuilder. First, I wanted to understand the differences. But if we achieve getting them to match, we can then test them against each other going forward. It would be easy to supply some 'golden SQL' from models providing substantial coverage.
If I begin using this utility more, I will help add some tests.
from pyxtuml.
Unfortunately, there is a lack of unit tests in pyxtuml for actions that interact with e.g. instances, state machines and ports. In particular, the modules sourcegen.py, prebuild.py, and oal.py desperately needs attention from a test engineer (see links for coverage metrics).
Some of these things where testing manually on a few test models available at the time, but as pointed out above, there are missing pieces. Going forward, I believe it is essential to have a test model/set of test models that systematically covers the input space of the prebuilder.
from pyxtuml.
Can this issue now be closed? PR serviced here: #13
from pyxtuml.
It could. However, I have one more quick check I want to make. If it is easy to link up S_IRDTs instead of core types in set arithmetic, that would be an improvement.
I will confirm that set arithmetic now parses cleanly. My test included all of the OAL in mc/model/mcooa, escher and mcshare.
from pyxtuml.
I recommend you raise a separate issue for the IRDT issue. The two problems you called out originally in this issue have been resolved.
from pyxtuml.
Closing issue as fixed. I will raise another on IRDTs if I think it is a good idea to make that change.
from pyxtuml.
Related Issues (20)
- pre-build fails when informal diagrams exist in project
- feature request: C and Java translation of templates HOT 3
- constant specification confused for enumeration HOT 11
- Prebuilder struggles with invocations of operations/functions via package reference HOT 13
- RuntimeWarning running pre-build with python 3.8 HOT 5
- Transient arrays are not supported? HOT 3
- Pyxtuml appears to have a limitation on function size. HOT 4
- Empty value in referential causes relationship to not be formalized HOT 4
- Duplicate association numbers in different components fail to compile. HOT 13
- Add ooaofooa schema for BridgePoint 7 HOT 5
- CI with appveyor and travis out of date HOT 2
- Pyxtuml fails when a derived attribute is specified in a package-referenced class. HOT 2
- Remove special case for derived attribute field initialization HOT 3
- Pre-build does not include label for state machine actions
- pyxtuml allows creation of duplicate associations HOT 4
- Function evaluation in select...where causes assertion error. HOT 5
- Tests fail with Python 3.11 HOT 1
- Cannot import xtuml module
- persist links HOT 8
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 pyxtuml.