Git Product home page Git Product logo

authentication's Introduction

Handling User Authentication .

DESCRIPTION

Project objective:

Set up a spring boot project to do testing of a user authentication class which is used in the main web application. The objective is to create a JUnit class that will test all aspects of the authentication class.

Background of the problem statement:

As a part of developing an ecommerce web application, a test-suite is being created to do unit testing of all backend components in the web application. This project will test the user authentication class. This project will be a Spring Boot Java application, since Junit does not directly test servlets or web pages. We are only testing the classes that have the business logic.

You must use the following:

  • Eclipse as the IDE
  • Apache Tomcat as the web server
  • Junit 5

Following requirements should be met:

  • Create a Spring Boot Project
  • Create a set of business classes that that has all the methods related to user authentication
  • Create a view/controller in Spring MVC to perform a basic UI function related to User Authentication.
    • You can use any Spring View or Controller for this; JSP/Thymeleaft/ etc.
    • The point of creating the view controller is just to get it working; it won't be tested
    • You may also use MySQL to implement the app but it is not required.
    • Requirements for the application will be similar to Phase 2 End Project
  • Create a JUnit test class to create unit tests for business logic classes.
    • There is no need to directly test the Spring MVC view or controllers.
  • You should have at least 1 unit test for each of the following:
    • Every method in your service classes
    • Every method in the repository classes that is invoked anywhere in the application (probably mostly in services)
    • Do some tests that directly involve using MySQL (if you use it).
  • Run the test class directly as a JUnit and check if all the tests pass
  • Document the step-by-step process involved in completing this task

Due Date

22-March-2021

authentication's People

Contributors

ankurkaushik avatar

Watchers

James Cloos avatar  avatar

Forkers

naren2112

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.