Skip to content

NeonGraal/refaction

 
 

Repository files navigation

Refaction Improved, by Struan Judd

Changes

  1. Retained Instructions in own document
  2. Semantic Versioning of assemblies
  3. Created basic acceptace tests
  4. Begun Questions document
  5. Capture Original DB
  6. Separate Model into own assembly/project. No functional changes.
    1. First Unit Test
    2. Refactor controller GetAll to use service
    3. Refactor controller SearchByName to use service
    4. Refactor controller GetProduct to use service
    5. Refactor controller Create to use service
    6. Refactor controller Update to use service
    7. Refactor controller Delete to use service
    8. Refactor All Product Option Controller methods to use Options service
    9. Refactor for readability

Functional tests

These are written in Python and run using Nose (eg. py -m nose)

To install:

  1. Install Python 3.6
  2. Run pip install -r requirements.txt

They assume that the Web Api is running at a base URL of http://localhost:58123

Other versions

Whilst researching I came across the following clones of the original refaction repository

About

A terribly written Web API project that can be used as a test for potential C# applicants.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 92.9%
  • Python 6.8%
  • Classic ASP 0.3%