Posts

Showing posts from September, 2018

Release 0.1

Image
Filing an Issue  To start we are required to start a new issue, one that we will work on. This is easy, under the issue tab hit the button new issue . Fork the project as well! File New Issue  To start we are required to start a new issue, one that we will work on. This is easy, under the issue tab hit the button new issue . Fork the project as well! GIT Stuff:    Let's first create a local copy of the code  *This is download for another project, this clone if from the master   Add Remote: *adding the remote to my fork Switch Branch Writing the Tests Chmod Our Test will test for an invalid mode, we must place it within an it() block After we must ensure all tests pass. Updating Branch  git push origin issue467 New Pull Request *cross fork pull request Peer Review In class one of my peers were having trouble with writing their test. After I looked over it, I couldn't see anything wrong, so I loo

Chmod

Image
File New Issue  To start we are required to start a new issue, one that we will work on. This is easy, under the issue tab hit the button new issue . Fork the project as well! GIT Stuff:    Let's first create a local copy of the code  *This is download for another project, this clone if from the master   Add Remote: *adding the remote to my fork Switch Branch Writing the Tests Chmod Our Test will test for an invalid mode, we must place it within an it() block Updating Branch  git push origin issue467 New Pull Request *cross fork pull request

fs.copyFile

Image
fs.CopyFile       Uses:      Copying a file from one location to another,      By default, dest is overwritten if open if it Exists        Setup:         To get started I setup a simple server that would just run our js code. Since we're also testing             CopyFile I created a source file source.txt that is a simple text list. LIST: Sir John Alexander Macdonald Alexander Mackenzie Sir John Alexander Macdonald Sir John Abbott Sir John Thompson Sir Mackenzie Bowell Sir Charles Tupper Sir Wilfrid Laurier Sir Robert Laird Borden Arthur Meighen W.L. Mackenzie King Arthur Meighen W.L. Mackenzie King Richard Bedford Bennett W.L. Mackenzie King Louis Saint Laurent John G. Diefenbaker Lester B. Pearson Pierre Elliott Trudeau Joe Clark Pierre Elliott Trudeau John N. Turner Brian Mulroney Kim Campbell Jean Chrétien Paul Martin Stephen Harper Justin Trudeau       Use Case 1 :  Copying a