# Testing Network Automation Data Transformation

DevFeed: [Testing Network Automation Data Transformation](<https://devfeed.tech/articles/testing-network-automation-data-transformation-11009.md>)

Original publisher: [Read original article](<https://blog.ipspace.net/2024/05/network-automation-testing/>)

Published: 2024-05-20T06:08:00Z

Content type: tutorial

Language: en

Sources: [ipSpace.net blog](<https://devfeed.tech/sources/ipspace-net-blog.md>)

Topics: [Network](<https://devfeed.tech/topics/network.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [data-processing](<https://devfeed.tech/topics/data-processing.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [YAML](<https://devfeed.tech/topics/yaml.md>), [Python](<https://devfeed.tech/topics/python.md>), [Refactoring](<https://devfeed.tech/topics/refactoring.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [bug](<https://devfeed.tech/tags/bug.md>), [data-transformation](<https://devfeed.tech/tags/data-transformation.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [netlab](<https://devfeed.tech/tags/netlab.md>), [network-automation](<https://devfeed.tech/tags/network-automation.md>), [python](<https://devfeed.tech/tags/python.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>), [testing](<https://devfeed.tech/tags/testing.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

## AI overview

The article explains how netlab tests the transformation of high-level network automation data into device data models. It describes pre-commit and pre-push checks, GitHub Actions, YAML and Python validation, transformation tests, error-handling tests, and regression tests created from fixed bugs.

## Source excerpt

Every complex enough network automation solution has to introduce a high-level (user-manageable) data model that is eventually transformed into a low-level (device) data model. High-level overview of the process The transformation code (business logic) is one of the most complex pieces of a network automation solution, and there's only one way to ensure it works properly: you test the heck out of it ;) Let me show you how we solved that challenge in netlab. Read more ...