MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Testing MM modules

    Scheduled Pinned Locked Moved Development
    7 Posts 6 Posters 4.4k Views 9 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nwoottonN Offline
      nwootton Module Developer @arjunrao87
      last edited by

      @arjunrao87 I’m trying to figure this out myself - did you get anywhere?

      I can find lots of information about the MM Test Suite, but I just want to write tests against a specific module I’m developing. Normally I’d use Mocha, but that just throws error after error when I try to get it to do anything against my own module.

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        roramirez Core Contributors @nwootton
        last edited by

        @nwootton You can use the testsuite for kickoff. A good point in the future if we can integrate the modules test can be run inside the testsuite of MM.

        Easy module development with MagicMirror Module Template

        S J 2 Replies Last reply Reply Quote 1
        • S Offline
          stromwerk @roramirez
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • J Offline
            jfisher446 @roramirez
            last edited by

            @roramirez Can you advise if there has been any progress made towards this in the time since your previous reply?

            R 1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer
              last edited by

              I have three MM’s running. My home and work ones, and the test MM.

              That test one is regularly reinstalled down to the OS (yes, I’ve screwed things up THAT badly)

              The "E" in "Javascript" stands for "Easy"

              1 Reply Last reply Reply Quote 0
              • R Offline
                roramirez Core Contributors @jfisher446
                last edited by

                @jfisher446 You can add new test inside of testsuite for own module.

                Easy module development with MagicMirror Module Template

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy