Found 214 repositories(showing 30)
gfredericks
A utility library for test.check
applicake
Chuck's Testa RSpec formatter
A demo for server side synchronisation of box2d body positions. Physical networking test for chuck.js project. Thanks for the help @jeena
n0-computer
A place to chuck in various integration type tests and benchmarks.
PauloRobert
Testes automatizados da Api Chuck Norris, utilizando Java, Junit, Rest Assured, Extent Report para gerar um report grafico dos testes
fajran
Partial upload with Django
mpneuried
A simple test app as showcase for rsmq. It listens to twitter hash tags and responds with a chuck norris joke as private message.
EhabR98
n this assignment you will write a Python program somewhat similar to http://www.py4e.com/code3/geoxml.py. The program will prompt for a URL, read the XML data from that URL using urllib and then parse and extract the comment counts from the XML data, compute the sum of the numbers in the file. We provide two files for this assignment. One is a sample file where we give you the sum for your testing and the other is the actual data you need to process for the assignment. Sample data: http://py4e-data.dr-chuck.net/comments_42.xml (Sum=2553) Actual data: http://py4e-data.dr-chuck.net/comments_988433.xml (Sum ends with 94) You do not need to save these files to your folder since your program will read the data directly from the URL. Note: Each student will have a distinct data url for the assignment - so only use your own data url for analysis. Data Format and Approach The data consists of a number of names and comment counts in XML as follows: <comment> <name>Matthias</name> <count>97</count> </comment> You are to look through all the <comment> tags and find the <count> values sum the numbers. The closest sample code that shows how to parse XML is geoxml.py. But since the nesting of the elements in our data is different than the data we are parsing in that sample code you will have to make real changes to the code. To make the code a little simpler, you can use an XPath selector string to look through the entire tree of XML for any tag named 'count' with the following line of code: counts = tree.findall('.//count') Take a look at the Python ElementTree documentation and look for the supported XPath syntax for details. You could also work from the top of the XML down to the comments node and then loop through the child nodes of the comments node. Sample Execution $ python3 solution.py Enter location: http://py4e-data.dr-chuck.net/comments_42.xml Retrieving http://py4e-data.dr-chuck.net/comments_42.xml Retrieved 4189 characters Count: 50 Sum: 2...
dheerajyadav54
Calling a JSON API In this assignment you will write a Python program somewhat similar to http://www.py4e.com/code3/geojson.py. The program will prompt for a location, contact a web service and retrieve JSON for the web service and parse that data, and retrieve the first place_id from the JSON. A place ID is a textual identifier that uniquely identifies a place as within Google Maps. API End Points To complete this assignment, you should use this API endpoint that has a static subset of the Google Data: http://py4e-data.dr-chuck.net/json? This API uses the same parameter (address) as the Google API. This API also has no rate limit so you can test as often as you like. If you visit the URL with no parameters, you get "No address..." response. To call the API, you need to include a key= parameter and provide the address that you are requesting as the address= parameter that is properly URL encoded using the urllib.parse.urlencode() function as shown in http://www.py4e.com/code3/geojson.py Make sure to check that your code is using the API endpoint is as shown above. You will get different results from the geojson and json endpoints so make sure you are using the same end point as this autograder is using. Test Data / Sample Execution You can test to see if your program is working with a location of "South Federal University" which will have a place_id of "ChIJNeHD4p-540AR2Q0_ZjwmKJ8". Test Data/Output $ python3 solution.py Enter location: South Federal University Retrieving http://... Retrieved 2412 characters Place id ChIJNeHD4p-540AR2Q0_ZjwmKJ8
thenicholascoder
11.3 Finding Numbers in a Haystack In this assignment you will read through and parse a file with text and numbers. You will extract all the numbers in the file and compute the sum of the numbers. Data Files We provide two files for this assignment. One is a sample file where we give you the sum for your testing and the other is the actual data you need to process for the assignment. Sample data: http://py4e-data.dr-chuck.net/regex_sum_42.txt (There are 90 values with a sum=445833) Actual data: http://py4e-data.dr-chuck.net/regex_sum_373677.txt (There are 74 values and the sum ends with 231) These links open in a new window. Make sure to save the file into the same folder as you will be writing your Python program. Note: Each student will have a distinct data file for the assignment - so only use your own data file for analysis. Data Format The file contains much of the text from the introduction of the textbook except that random numbers are inserted throughout the text. Here is a sample of the output you might see: Why should you learn to write programs? 7746 12 1929 8827 Writing programs (or programming) is a very creative 7 and rewarding activity. You can write programs for many reasons, ranging from making your living to solving 8837 a difficult data analysis problem to having fun to helping 128 someone else solve a problem. This book assumes that everyone needs to know how to program ... The sum for the sample text above is 27486. The numbers can appear anywhere in the line. There can be any number of numbers in each line (including none). Handling The Data The basic outline of this problem is to read the file, look for integers using the re.findall(), looking for a regular expression of '[0-9]+' and then converting the extracted strings to integers and summing up the integers.
LaezSugam
No description available
smarttopdev
No description available
joVal21
test profile for chuck
Edgar-AAS
Aplicativo simples de consulta de piadas, usado como prova de conceito para abordagem de testes unitários
spencersalazar
ChucK Internal Unit Testing Framework
greybirbroman
No description available
jaystine
testa
mwafrika
Chuck App is a Joke App that displays the most current and random chuck norris jokes, and you may acquire a new joke or fact by pressing any category represented by corresponding icons on the main page. You may also find jokes by putting a phrase into the search box.
ankushk1729
No description available
GeronimoOlanda
Consumindo a API do Chucknorris database
mdrideout
A sample snap that runs a Chuck Norris web server, including instructions for how to demo locally with multipass.
ZachyDev
Fetching data from Chuck Norris API
amit-kr-ghosh
Django For Everybody (DJ4E), By Dr.Chuck, University of Michigan. AutoGraded Tests
leeorengel
Code from my blog post: Clojure Property-based testing with plumatic's schema and test.check/chuck
AatroxMainBTW
Its a testing project for MVVM architecture and for testing getting data from an api that shows VERY GOOD AND FUN Chuck Norris jokes
Moha143
Finding Numbers in a Haystack In this assignment you will read through and parse a file with text and numbers. You will extract all the numbers in the file and compute the sum of the numbers. Data Files We provide two files for this assignment. One is a sample file where we give you the sum for your testing and the other is the actual data you need to process for the assignment. Sample data: http://py4e-data.dr-chuck.net/regex_sum_42.txt (There are 90 values with a sum=445833) Actual data: http://py4e-data.dr-chuck.net/regex_sum_929690.txt (There are 76 values and the sum ends with 651)
wilkerlucio
string-from-regexp implementation for CLJS
m-amirqushairi-jais
test-chuck-norris
rtagliaviaz
react chuck test
Archy158
To me to you