Skip to content
Bronte Lee edited this page Feb 14, 2015 · 6 revisions

View most up-to-date version. This page will be updated at the very least at the end of a sprint, otherwise as each user story gets completed.

Table of Contents

Installation

Pre-deployment

Predeployment, (Sprint 0, 1,) if you wish to run our project you will need to follow the steps below to run our project locally on your computer. Once we have deployment we will provide steps for how you can access our site then. Until then, please follow the steps below to run our project locally on your own computer.

  1. Download and install Visual Studio 2013 Ultimate Edition. This will allow you to build our project and run it.

  2. Download and install Neo4j Community Edition. (The free edition essentially.) This is the database that our project will use.

  3. Optional: Get some data into your database. At the moment it’s semi-manual for adding data. At the end of Sprint 1 (Feb 13th) it is not necessary to have actual data in your Neo4j database.

    1. Follow the instructions here:
      https://github.com/BasicConceptClassification/ClassificationDeveloper/tree/master/DummyData
  4. Leave Neo4j Community running with the database with data. Anytime the website needs anything from the database, it will require Neo4j to be running.

  5. On our project’s github main page:
    https://github.com/BasicConceptClassification/ClassificationDeveloper You can download our project as a .zip file (the easy way) or you can clone it (if you are familiar with git). Remember where you download our project to.

  6. To run our website from Visual Studio 2013: Open up Visual Studio 2013 Ultimate Edition and select FILE > Open > Open From Source Control and then navigate to where you downloaded our project.

    1. On the right-hand-side (by default) in the Team Explorer there should be two expandable sections: Project and Solutions. Open up Solutions and double click on the bolded BasicConceptsClassification.sln. This should have Visual Studio start opening the Solution, which is basically our project.

    2. Once it has finished loading the Solution (project) click the Solution Explorer. The file structure of our project and there should be a list of directories including BCCApplication, BCCLib, etc. Click on BCCApplication so that it is hilighted. Click FILE > View in Browser (Google Chrome) and the project should build and then open a new tab in Google Chrome with our website!

      1. If you wish to use a different browser than Google Chrome, in the top bar there should be a Green Arrow with Google Chrome to the right of it. Click on the tiny drop down arrow to the right of Google Chrome and you should see other browser types listed such as Internet Explorer. Selecting a different browser should change the browser name next to the Green Arrow.

Tests

As we develop how our database is structured, we will have more detailed test cases.

There are automated tests that will be in our Solution (project) in Neo4jTest project (directory). Those can be run by TEST > Run > All Tests. The rest of the tests are more manual and can be found below.

It is important that Neo4j community is running. Until we can get deployment working it IS ASSUMED that Neo4j Community is running for each of these tests.

TestId T06_01
Description When viewing search results, the user that is searching can click on a search result’s link to go to another page.
Setup Make sure there is some GLAM object/Classifiable in the database with a proper Url.
Instructions
  1. Navigate to a search page.
  2. Enter any acceptable combination of Terms into the search bar.
  3. Click the button ‘Search’.
  4. Click on any of the search result urls.
Expected Results A new page should open up where the URL indicated it would go.
TestId T07_01
Description A Classifier can log into the website.
Setup Ensure the Neo4j database has a known username and password combination.
Steps
  1. Ensure the current user is logged out.
  2. Navigate to the Login page.
  3. Enter in the known username into the Username field.
  4. Enter the known password into the Password field.
  5. Click the ‘Login’ button.
Expected Results Classifier should now be logged in which is indicated at the top of the page, which should say “Hello Username”.

Unfinished User Stories

Sprint 1:

R5 will be fully completed in Sprint 2. R5 is untested at the moment since sorting by relevance was not implemented. Once we have a better understanding of relevance, which we have spoken to the client about and has given us some direction and freedom to experiment, then proper test cases will be added.

Blank table

TestId TXX_YY
Description
Setup
Steps
Expected Results
Clone this wiki locally