go_assessment | A port of Rebecca Murphey 's js-assessment for Go
kandi X-RAY | go_assessment Summary
go_assessment is a Go library. go_assessment has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
This is a tool for assessing or practicing beginner level programming in Golang. It is inspired by Rebecca Murphey's js-assessment. A while back I tried out Murphey's js-assessment and found it to be a valuable tool for refreshing my javascript capability when I had not written any JavaScript for a few months. I figured a similar tool for Go might be useful for the same reason. This tool leads the user through a series of Go implementation exercises from easy to medium. It's not meant to be a leetcode challenge. The point is to exercise your skill with some basic syntax and semantics of Go. Most of the tests and implementations are straightforward. A few are harder, require a bit of algorithm knowledge or the ability to look up a solution. If you have gone through the official golang tutorial you will know enough to make most of the tests pass. For the rest go ahead and look up a solution if you need to. Feel free to use go standard libraries. No need to reinvent the wheel. This tool relies on Test Driven Development using the native Go test framework. The ./app directory contains a set of test files (app/topic_test.go) and a corresponding app skeleton file (app/topic.go) with the required function definitions but missing the implementations. Treat the topic_test.go files as the specifications for the function skeletons. The goal is to provide the implementations in the skeleton files to pass the tests. If the tests are not passing, dig into the topic_test.go files to figure out what the requirement is, then fix the skeleton file so the tests pass. You are done when all tests pass. You should not have to modify anything in the topic_test.go files, only the topic.go skeleton files (unless the tests have a bug in which case feel free to report it). The tests are ordered (more or less) by increasing difficulty. The topics covered include.
Support
Quality
Security
License
Reuse
Support
Quality
Security
License
Reuse
Support
go_assessment has a low active ecosystem.
It has 14 star(s) with 5 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
There are 1 open issues and 0 have been closed. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of go_assessment is current.
go_assessment Support
Best in #Go
Average in #Go
go_assessment Support
Best in #Go
Average in #Go
Quality
go_assessment has no bugs reported.
go_assessment Quality
Best in #Go
Average in #Go
go_assessment Quality
Best in #Go
Average in #Go
Security
go_assessment has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
go_assessment Security
Best in #Go
Average in #Go
go_assessment Security
Best in #Go
Average in #Go
License
go_assessment is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
go_assessment License
Best in #Go
Average in #Go
go_assessment License
Best in #Go
Average in #Go
Reuse
go_assessment releases are not available. You will need to build from source code and install.
go_assessment Reuse
Best in #Go
Average in #Go
go_assessment Reuse
Best in #Go
Average in #Go
Top functions reviewed by kandi - BETA
kandi has reviewed go_assessment and discovered the below as its top functions. This is intended to give you an instant insight into go_assessment implemented functionality, and help decide if they suit your requirements.
- parseTestLine parses a line of testResults
- handleTests runs all the tests in the request .
- statHeader generates a summary of the given parameters .
- Run the HTTP server
- TestToHTML transform test results to HTML
- testInfo returns a row from the line
- test goal
- catHeader returns the header of the category .
- FPartial returns nil iff function returns nil .
- testPass returns the password for the given name .
Get all kandi verified functions for this library.
Get all kandi verified functions for this library.
go_assessment Key Features
if you are stuck, don't hesitate to get help. Look it up!
if you have a compile error in a function under test (inside one of the topic.go files) it will terminate the tests for that topic. You will (probably) get an error message describing where and what the compile error is.
Operators
Flow Control
Strings
Slices
Binary
Functions
Recursion
Methods
Regexp
Async
Set up Go
Clone or fork this repo
Start the browser based test framework (test_browser.sh or test_browser.cmd). Open a browser to the host:port (:8080 by default)
Refresh the page to run the tests
Update the skeleton files in ./app
When all tests pass you are done
From a web browser : best the tool includes a web server implementation that will run the tests and display the results for you. in the root of the repo, run './test_browser.sh' (or 'test_browser.cmd' on Windows. see the issue regarding Windows Antivirus if you have problems) and connect to the hostip:8080 with a browser. You will get a display of all the test results. after editing skeleton files, you can update the test results by refreshing the web page. this will rerun the tests and update the results. you don't need to restart the web server when you change a function under test. just refresh the page. If you modify a topic_test.go file, you would need to restart the server. the browser tool needs to be connected to the internet because it uses Bootstrap from a CDN. If you want to run locally you can download the required bootstrap files and modify './static/index.html' to point to their local copies. You can change the port number in './main.go' or in the startup scripts.
From the Shell run a shell script that runs all the tests and writes the output to 'results.txt' for Linux or Mac, the script is './test_all.sh' for Windows, the script is 'test_all.cmd' if your tests and other go programs build slowly on Windows, its probably due to Windows Defender or other antivirus you can run individual test files using 'go test...' example for the strings test [linux/macos]: 'go test -v ./app/strings*.go ./app/test_util.go ./app/app_types.go' [windows]: 'go test -v ./app/strings.go ./app/strings_test.go ./app/test_util.go ./app/app_types.go'
Visual Studio Code (Or other debugger with similar capability)
Logging output in a function under test
go_assessment Examples and Code Snippets
No Code Snippets are available at this moment for go_assessment.
Community Discussions
No Community Discussions are available at this moment for go_assessment.Refer to stack overflow page for discussions.
No Community Discussions are available at this moment for go_assessment.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install go_assessment
You can download it from GitHub.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesExplore Kits - Develop, implement, customize Projects, Custom Functions and Applications with kandi kits
Save this library and start creating your kit
Share this Page
Reuse Trending Solutions