MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Testing MM modules

    Development
    6
    7
    3416
    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.
    • A
      arjunrao87 last edited by

      Whats the way most people test their own MM modules? Do they just deploy it against the Magic Mirror?
      Thanks!

      nwootton 1 Reply Last reply Reply Quote 1
      • nwootton
        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
          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
            stromwerk @roramirez last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • J
              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
              • BKeyport
                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
                  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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy