-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Welcome to the SenseMapExtension wiki!
If this is your first time involved in the SenseMap development, the information below will get you started:
-
If you haven't done any Chrome extension development before, have a look of the tutorial;
-
We use Git a lot (this is GitHub anyway :-). If you are not familiar with it, there are many good tutorials, such as https://www.atlassian.com/git/tutorials and https://try.github.io/. The most important part is the 'collaborating', as you will be working in a team. More details about the SenseMap branch structure and how to add your the changes here.
-
We are using Behaviour-Driven Development (BDD), which is closely related to unit testing. There are more details here.
-
Now, you are almost ready. Before diving into the coding, have a look of the SenseMap architecture and existing bugs and planned features in the issues.
-
Now you are ready! Make sure to follow the development process mentioned in the Summary section on the BDD and testing page:
- Create the use case or user story (as a wiki page, until we find a better way);
- Create the test suites and specs (using Jasmine) based on the user case or user story;
- Write the JS code according to use case/user story;
- Use Sinon-Chrome to create the test doubles of chrome api and any other external functions needed;
- Make sure the JS code passes all the unit tests.
Have fun!
Missing Features for Online Study
Behaviour: Node and Edge Creation
Testing and Behaviour Driven Development (BDD)
Video: Testing with Jasmine and Sinon-Chrome
Video: overview of SenseMap code
Video: browser features in the old 'master' branch
How browserProvenance.js works
Video: create REST API for MongoDB using Node.js