Git Product home page Git Product logo

employee-management's Introduction

Burger Spring ReadMe

this is the readme file for the group one project. it details the methods that have been created and what they do as well as our test cases with their code coverage

methods created in the service layer

public List<Integer> getSalaryRangeInYearByJobTitle(String title, String year)

this method returns a list of salaries wihtin a given year for a given job title

 public Integer getEmployeeHighestSalaryByEmployeeId(Integer id) 

this method returns the highest salary earned by a given employ by their id

public List<Employee>getEmployeeEarningAboveGivenSalary(int salary)

this method returns a list of employees who all earns above a given salary value

public String genderPaygap(String Department)

this method returns a string quantifying if there is a pay gap by gender in a given department

public ArrayList<Employee> getEmployeesByDateAndDepartment(LocalDate beofreDate, LocalDate afterDate, String deptName)

this method returns a list of Employees who worked in a given department on a given date

public List<Employee> getEmployeeByLastName(String lastName)

this method returns a list of all employees who share the same last name

public List<Employee> getEmployeeByLastName(String lastName)

this nme

areas of program that have been tested

  @Test
    @DisplayName("testing if given id of 10032 eanred a max of 69539")
    void testEmployeeEarnsMaxOf69539(){
        assertTrue(salaryService.getEmployeeHighestSalaryByEmployeeId(10032) == 69539);
    }

this test assess that a specific employee earned a maximum salary of a given number

Testing Coverage

Contributors

  • Michael Shalaby
  • Honghao Zheng
  • Liam Michael Bramah
  • Miguel Camilleri
  • Oliver Peter Norgate
  • Sina Naseri
  • Zac Perkins-Jones

employee-management's People

Contributors

shalamike avatar ripeavocoder avatar zacpj avatar nathanlucasc avatar liambramah avatar sinanaseri007 avatar honhaoz avatar

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.