CSCI 3130作业代写、代做JUnit课程作业、Java课程设计作业代写、Java编程语言作业调试代做数据库SQL|调试Matlab程序

CSCI 3130, Summer 2019Assignment 2: Test-Driven Development (JUnit)1. Use Test-Driven Development to implement a password strength validator.Remember:- write a JUnit test first before implementing anything new (commit the tests)- make small changes to make the test pass (commit the changes)- refactor (final commits)Stage 1:At this stage there is no UI, no Android Activity, just a class (Validator.java) with avalidate method that checks whether a string is a sufficiently strong passwordaccording to some set of rules (not unit tests) and returns the number of rules that thestring passed. Begin with implementing these 2 rules:- it is not “password” (case insensitive)- it is at least 8 characters longYou are encouraged to create an empty android project to facilitate stage-3. Remember towrite your business logic for the password validation in the Validator.java classCreate a new GitLab Repository for your project, name it “password-validator”.Make the repository private and add the user 3130markers as a maintainer. Pushyour code to a new branch “a2-stage1”Stage 2:Next, define and implement at least 3 more rules of your own choosing (e.g. requiring atleast 1 special character, at least 1 digit, both upper and lower case).The new rules should be pushed to a branch named “a2-stage2”2. Create a simple Android interface that takes a password and provides feedback asto its strength (using the class you created in (1)). Your interface needs an input textfield, button and output text. You can follow the example but are not required to:Follow a TDD approach using Espresso (or Robolectric).You can decide when to perform validation (i.e. dynamicallyas the password is entered, or only after the password issubmitted). You are just required to indicate on the formwhether the password is strong enough. Additional details(e.g. a red/green strength indicator bar, or providing ageneric message about what is required in a password) arenot required.Push the code to a new branch called “a2-stage3”Take a screenshot of your final running program, you can use theemulator or a phone.Hand in your assignment via Brightspace. Submit in a pdf file- Link to your GitLab repository- a screenshot of your running application (question 2)Due date is posted on BrightsapceMarking Scheme for A2 (20 marks):- screenshot of running application: 1 mark- if repo is not private: - 2 marksA2Stage1 branch: (7 marks):- code compiles: 1 mark- test code exists and compiles: 1 mark- 1 class with validate (or similar name) method implemented: 2 marks- “password rule”: 1 mark- >= 8 chars rule: 1 mark- tests run and pass: 1 markA2Stage2 Branch: (8 marks)- code compiles: 1 mark- 3 new rules implemented: 3 marks (1 for each)- the idea of a rule is abstracted into its own class: 2 marks -> No validation logic in the UI Class- tests run and pass: 2 marksA2Stage3 Branch: (4 marks)- code compiles: 1 mark- Espresso code added: 1 mark- password entry form with validation message: 2 marks本团队核心人员组成主要包括BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected] 微信:codehelp QQ:99515681 或邮箱:[email protected] 微信:codehelp

你可能感兴趣的:(CSCI 3130作业代写、代做JUnit课程作业、Java课程设计作业代写、Java编程语言作业调试代做数据库SQL|调试Matlab程序)