This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bench | |
import ( | |
"strconv" | |
"testing" | |
) | |
var smallStr = "35" | |
var bigStr = "999999999999999" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#================ PART - 0 - PRE-REQUISTES ================ | |
# Install Django and Selenium | |
# Create a Django Project and add a package called functional_test | |
#================ PART - 1 - GETTING READY ================ | |
# Step 1: Check if the server is running | |
from selenium import webdriver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Copyright (c) 2015, Intel Corporation | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# * Redistributions of source code must retain the above copyright notice, | |
# this list of conditions and the following disclaimer. | |
# * Redistributions in binary form must reproduce the above copyright |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 1: Create Movie Add form | |
• movies.html | |
<form action="/movies/" method="post"> {% csrf_token %} | |
Movie Name: <input type="Text" name="name"> <input type="submit" value="Add"> | |
</form> | |
• views.py |