GithubHelp home page GithubHelp logo

Comments (7)

foxthefox avatar foxthefox commented on July 19, 2024

the code is already merged.
if I have found out, what shall be the intention of the test, then I may have a glue.
It would have been perfect if, it would be already green from bluefox

from iobroker.statistics.

Apollon77 avatar Apollon77 commented on July 19, 2024

The basic tests (as it exist e.g. in template adapter) mainly make sure that the adapter cna be installed and basically started.
Here additional check logic was added : https://github.com/foxthefox/ioBroker.statistics/blob/master/test/testAdapter.js#L96 (and following) and https://github.com/foxthefox/ioBroker.statistics/blob/master/test/testAdapter.js#L123 ... so one object is added and an increasing counter value is written into it each second.

Then after everything started up in https://github.com/foxthefox/ioBroker.statistics/blob/master/test/testAdapter.js#L153 it is checked that adapter has created two own objects and it is checked that they exist.

I think the main topic is that the counter gets increased all the time ... there is no stop. SO in my eyes there should be a clearInterval once the check was done. This should be enough already

from iobroker.statistics.

Apollon77 avatar Apollon77 commented on July 19, 2024

testing still red

from iobroker.statistics.

foxthefox avatar foxthefox commented on July 19, 2024

I am still struggling with it. I found one issue in travis log "cannot find view "custom"", but I have no glue how to solve it.

from iobroker.statistics.

foxthefox avatar foxthefox commented on July 19, 2024

now it is green

from iobroker.statistics.

Apollon77 avatar Apollon77 commented on July 19, 2024

Cool what was it?

from iobroker.statistics.

Apollon77 avatar Apollon77 commented on July 19, 2024

Congrats!

from iobroker.statistics.

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.