Giter Site home page Giter Site logo

updates to prebuilder about pyxtuml HOT 6 CLOSED

xtuml avatar xtuml commented on July 26, 2024
updates to prebuilder

from pyxtuml.

Comments (6)

cortlandstarrett avatar cortlandstarrett commented on July 26, 2024 1

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.

john-tornblom avatar john-tornblom commented on July 26, 2024

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.

leviathan747 avatar leviathan747 commented on July 26, 2024

Can this issue now be closed? PR serviced here: #13

from pyxtuml.

cortlandstarrett avatar cortlandstarrett commented on July 26, 2024

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.

leviathan747 avatar leviathan747 commented on July 26, 2024

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.

cortlandstarrett avatar cortlandstarrett commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.