MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. DanielHabenicht
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    DanielHabenicht

    @DanielHabenicht

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    DanielHabenicht Unfollow Follow

    Latest posts made by DanielHabenicht

    • Automated Testing for Modules

      Hi, I want to test the functionality of my module in an automated way.

      For the Javascript that is loaded into the browser, it is fairly easy.

      But for the the node_helper.js it is not.
      It needs to require from node_helper which is not published anywhere except the main repo.
      I don’t want to copy over and monkey patch my package for the test.
      Look here for a reference of what I tried so far: https://github.com/DanielHabenicht/MMM-json/tree/add-node-helper-tests

      Any Ideas?
      Should MagicMirror provide a Test Harness for modules?

      posted in General Discussion
      D
      DanielHabenicht