Australian Fake Address Generator for Testing
Use a synthetic Australia address fixture for form and import tests. Check the Australian postcode layout and local address fields.
Preview
Example2/25 Example Road
Test fixture
{
"street": "2/25 Example Road",
"city": "Canberra",
"region": "ACT",
"postalCode": "2600",
"country": "AU"
}Address format
An Australian domestic address commonly includes a suburb or locality, a state or territory abbreviation and a four digit postcode. Keep the postcode as text. Run a separate case with a leading zero for a territory where that occurs, so an import that insists on numeric values cannot silently shorten the field.
If the business accepts units, test a slash notation such as 2/25 and the version with a separate unit field. Check the order confirmation, address book and dispatch preview. When an import accepts only one primary line, confirm the exporter preserves a stable representation instead of dropping the unit.
Form and import tests
Set the suburb, state and postcode in the same fixture so a test can compare what users type against what the application submits. Then generate a separate mismatch case and configure your lookup stub to reject it. Ensure the feedback points to the relevant fields and does not erase the address the customer already entered.
Test a second state using the same field shape as the ACT example. See whether the application handles localized input labels and converts an abbreviation to its backend enum correctly. In a mobile web view, check that the abbreviation dropdown stays reachable with the on-screen keyboard open.
Fixture assertions
Try editing the suburb after turning on address autocomplete. The address editor should keep choices from an older search from overriding the new suburb and postcode. Store snapshots at the form, request and rendered label boundaries if the exact source of a formatting change matters to your QA suite.
The sample street below is deliberately synthetic. Use the JavaScript check as an independent assertion on postcode length and the state code. The test targets shape and mapping. When a shipping service must accept an address, use a test fixture provided through that integration and keep dispatch turned off.
JavaScript test example
const fixture = {
"street": "2/25 Example Road",
"city": "Canberra",
"region": "ACT",
"postalCode": "2600",
"country": "AU"
};
const postcode = fixture.postalCode;
if (!/^\d{4}$/.test(postcode) || !(fixture.region === 'ACT' && fixture.street.includes('/'))) {
throw new Error("Address fixture failed");
}